calculator-bukharovev
v2.0.0
Published
calculate math expression
Downloads
4
Readme
Description
Utility to calculate math expression.
Utility parse input string in reverse polish notation and calculate result
Support binary operators:
- -, +, *, /
Installation
npm install calculator-bukharovev -g
Usage
calculate '300 + 6 * -24 / ( 105 + 5 ) - 2.5'
Examples
https://asciinema.org/connect/955ca1b9-e523-40d6-ad9e-c445c985a8f4