Web base app for performing standard mathematical computations.
- Multiplication
- Division
- Subtraction
- Addition
- Clear / Reset
There is a two level display, one for immediate input and another for the acquired equation. The acquired equation is located at the of the display screen followed by the immediate input.
- This Calculator can be operated by the click of Mouse, a Touch pad, the Tab button or a Numeric keypad.
- Equations containing the following elements can be evaluated:
- Multiplication
- Division
- Addition
- Subtraction
- Negative numbers
- Positive numbers
- Integer numbers
- Decimal numbers
- Integer number cannot begin with a zero.
- Decimal number cannot begin with multiple zeros before the decimal point.
- When consecutive computational operators are selected, the last operator is used (excluding the negative (-) sign).
- Selecting a computational operator after an equal operator will start a new equation containing the result from the previous equation.
- Selecting a decimal point after an equal operator will start a new equation containing a decimal starting with a zero (0.).
- Formula logic is used for this Calculator's logic, where order of operation precedence is observed.
The following languages, framework and libraries were used in the creation:
- Html5
- Css3
- Grid box (for layout and responsiveness)
- JavaScript ES6
- React
- mathjs
- create-react-app
Thank you to Freecodecamp.org for the project idea.
Calculator is an open source software licensed as GNU General Public License v3.0