A simple command line calculator.
Accepts any valid combination of 0-9, +, -, *, /, decimals (.), and parenthesis (). Passing an equation that begins with an operator (+,-,*,/) will treat the equation as starting with the previous answer. White space is ignored.
Includes rudimentary support for exponents. Due to limitations, cannot handle exponents combined with parenthesis. (5+3)^2 or 2^(5+3) will fail silently.
Assumes multiplication for parenthesis lacking an operator.
Examples:
/math 4 + 10 Math: 4 + 10 = 14 /math / 7 Math: 14 / 7 = 2 /math *2+4/ (5-3) Math: 2 *2+4/ (5-3) = 6 /math 2^8 Math: 2^8 = 256 /math (12-2)4 Math: (12-2)4 = 40
Facts
- Date created
- Apr 05, 2009
- Category
- Last update
- Aug 28, 2012
- Development stage
- Release
- Language
- deDE
- enUS
- esES
- esMX
- frFR
- koKR
- ruRU
- zhCN
- zhTW
- License
- All Rights Reserved
- Curse link
- Math
- Downloads
- 2,133
- Recent files
- R: 1.0.6 for 5.0.4 Aug 28, 2012
- R: 1.0.5.1 for 4.3.3 Apr 07, 2012
- A: 1.0.5 for 4.3.3 Apr 06, 2012
- A: 1.0.5-1-g2ceebe3 for 4.3.3 Apr 06, 2012
- R: 1.0.5 for 4.0.6 Apr 06, 2012