,,
(Ob. `7MM
M MM
db ,p6"bo ,6"Yb. MM ,p6"bo
AMA. 6M' OO 8) MM MM 6M' OO
AM'`M mmmmm 8M ,pm9MM MM 8M
,M' db YM. , 8M MM MM YM. ,
JM' Yb. YMbmd' `Moo9^Yo..JMML.YMbmd'
This is a command line calculator supporting operations with units.
Fancy Features:
- SI units, no imperial fun system
- History of calculations
- Reduction of units
- Conversion to desired unit
Calculations must be added in one of the following formats
($calculation) [$unitToConvertTo]
or
$calculation
where a calculation can support the binary operations +, -, *, /, ^ and the unary minus -.
A calculation is then formed in the way
$number($unit)? ($operator $number($unit)?)*
most importantly a unit within the calculation has to be surrounded by parenthesis.
Docs and test coverage come with the source code and can be opened locally.