Calculator Notepad is an open source, free-form text calculator, Chrome extension.

Overview

Calculator Notepad

Calculator Notepad is an open source, free-form text calculator, Chrome extension.

Installation

  1. Download and uncompress zip.
  2. In Chrome, go to the extensions page at chrome://extensions/.
  3. Enable Developer Mode.
  4. Choose Load Unpacked and select the Calculator Notepad folder.

Usage

Basic

Calculator Notepad will analyse each line in the input and attempt to calculate any expressions it finds. Each new line represents a new expression.

100 + 100
200 - (50 + 50)

To help give context to your calculations, you can type notes which Calculator Notepad will recognise as a comment.

Total:
1000 + 100

Operations

Token Details
+ Addition Operator eg. 3 + 2
- Subtraction Operator eg. 3 - 2
/ Division Operator eg. 6 / 2
* Multiplication Operator eg. 3 * 2
! Factorial Operator eg. 3!
^ Exponent Operator eg. 3 ^ 2
Mod Modulus Operator eg. 3 Mod 2
C Combination Operator eg. 3 C 2
P Permutation Operator eg. 3 P 2

Functions

Token Details
! Factorial eg. 3!
Sigma Summation eg. Sigma(1, 10, n)
Pi Product eg. Pi(1, 10, n)
n Variable for summation or product
root Square Root Function eg. root 9
pow Power Function eg. pow(2, 3)
log Logarithmic Function eg. log 100
ln Natural Logarithmic Function eg. ln 3
sin Sine eg. sin 45
cos Cosine eg. cos 30
tan Tangent eg. tan 10

Constants

Token Details
pi Mathematical Constant Pi
e Mathematical Constant Euler's Number
phi Mathematical Constant Golden Ratio

Variables

Calculator Notepad supports custom variables which allows you to assign values to words to help give more context to your expressions. Variables should follow some simple rules.

  1. Variable names can consist of letters and underscores.
  2. Variable names should not contain spaces.
  3. Variable names are case-sensitive.
  4. Variables can only be declared once.
  5. Variables names cannot be a symbol that represents a function or operator.

To declare a variable, type the name followed by and equals and the value you want to assign.

expenses = 5000

Once a variable has been declared, you can reference it at any point after it's declaration. Attempting to reference a variable before it has been declared will result in an error.

expenses = 5000
10000 - expenses

Variables can be also referenced within separate variable declarations.

expenses = 5000
subtotal = expenses - 1000

To change the value of a variable, simply update the variable value in the text input area and all expressions containing your variable will be automatically updated.

Options

To access options, right-click on the extension icon.

  • Choose from system, light or dark themes.

Attributions

You might also like...

Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Dec 24, 2022

An Open-Source Platform to certify open-source projects.

An Open-Source Platform to certify open-source projects.

OC-Frontend This includes the frontend for Open-Certs. πŸ“œ After seeing so many open-source projects being monetized πŸ’΅ without giving any recognition

Oct 23, 2022

This project is for hacktoberfest to encourage new developer and open source developers to contribute to open source and improve skills which require debugging, write testable code, industry standards, problem solving and many more,

This project is for hacktoberfest to encourage new developer and open source developers to contribute to open source and improve skills which require debugging, write testable code, industry standards, problem solving and many more,

πŸš€ Blog project for hacktoberfest In this repository, you can find issues related to a blog project that is built on top of Next.js. The project is a

Oct 9, 2022

This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022. πŸ’» πŸŽ―πŸš€

This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022.  πŸ’» πŸŽ―πŸš€

HACKTOBERFEST-2022-GDSC-IET-LUCKNOW Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k22 ? come on in About Participate in Hacktoberfest b

Oct 29, 2022

CPUSim is an open-source web-based animated x64 CPU simulator for educational purposes. Provided as a folder for easy distribution and without installation on the Google Chrome Browser. Powered by Unicorn.js, Capstone.js, Quasar and NASM.

CPUSim is an open-source web-based animated x64 CPU simulator for educational purposes. Provided as a folder for easy distribution and without installation on the Google Chrome Browser. Powered by Unicorn.js, Capstone.js, Quasar and NASM.

CPUSim - A Graphical CPU Simulator CPUSim is an open-source web-based animated x64 CPU simulator for educational purposes. Provided as a folder for ea

Oct 26, 2022

PaperFreeForm is a Free Form Builder to save trees and create beautiful forms

PaperFreeForm PaperFreeForm is a Free Form Builder to save trees and create beautiful forms. Easy online form builder that works like a doc. Just add

Feb 24, 2022

An open-source library to help with creating expandable text

πŸ”­ Telescopic Text An open-source library to help with creating expandable text. Inspired by StretchText and TelescopicText. I've been thinking a lot

Dec 30, 2022

Omnivore - a complete, open source read-it-later solution for people who like text

Omnivore - a complete, open source read-it-later solution for people who like text

Omnivore Omnivore is a complete, open source read-it-later solution for people who like text. We built Omnivore because we love reading and we want it

Jan 1, 2023

freeCodeCamp.org's open source codebase and curriculum. Learn to code for free.

freeCodeCamp.org's open source codebase and curriculum. Learn to code for free.

freeCodeCamp.org's open-source codebase and curriculum freeCodeCamp.org is a friendly community where you can learn to code for free. It is run by a d

Jan 7, 2023
Ios-calculator-js - Calculator made with vanilla javascript and custom css based on the design of iOS devices.

ios-calculator-js This is a practice project in which I try to replicate iOS calculator's both logic and styling. In case you spot room for improvemen

Franco 1 Nov 10, 2021
Eth-explorers-extension - Chrome extension to open Ethereum addresses & transaction hash from any page on popular explorers + dashboards

eth-explorers-extension(s) This repository contains two folders with two extensions that work for address and transactions respectively. 1. eth-addres

Apoorv Lathey 71 Jan 6, 2023
Auth-Form-Design - Beautiful Auth Form Designed using React πŸ₯°.

?? Auth Form Design ?? Features 1. Check Your Password Strength 2. Can Use Suggested Password 3. Enjoy Responsive Design Getting Started with Create R

Samarpan Dasgupta 2 Dec 24, 2022
Gatsby-Formik-contact-form-with-backend-panel - Full working contact form with backend GUI panel.

Gatsby minimal starter ?? Quick start Create a Gatsby site. Use the Gatsby CLI to create a new site, specifying the minimal starter. # create a new Ga

Bart 1 Jan 2, 2022
This is a Google Apps Script library for parsing the form object from HTML form and appending the submitted values to the Spreadsheet.

HtmlFormApp Overview This is a Google Apps Script library for parsing the form object from HTML form and appending the submitted values to the Spreads

Kanshi TANAIKE 18 Oct 23, 2022
FormGear is a framework engine for dynamic form creation and complex form processing and validation for data collection.

FormGear is a framework engine for dynamic form creation and complex form processing and validation for data collection. It is designed to work across

Ignatius Aditya Setyadi 91 Dec 27, 2022
Form To CSS - jQuery-Plugin form to CSS generator

Create your own CSS generator with the form to css generator Builder plugin. Can be usefull to create your own css builder or a Wordpress plugin or any kind of apps you need a real time css generator. For example, you can create a button generator

Gino 4 Sep 26, 2021
A JavaScript library stores the form-data to the localstorage so you don't have to fill the form again.

form-storage A JavaScript library stores the form-data to the localstorage so you don't have to fill the form again. Installation via npm npm install

appleple 159 Dec 10, 2022
Source code of the papers.labml.ai Chrome extension

papers.labml.ai Chrome extension This is the source code of the papers.labml.ai Chrome extension. Get it from Chrome webstore About ?? View informatio

labml.ai 39 Dec 16, 2022
⚑Chrome extension allows you to create lists of Google and Github dork to open multiple tabs with one click, import "scope/out of scope" from #HackerOne #Bugcrowd #Intigriti ...

FastDork v0.1 This chrome extension allows you to create lists of Google and Github dork to open multiple tabs with one click, import "scope/out of sc

skvndr 74 Dec 31, 2022