>If you feel lazy,
tell calculator 2 + 3 * 4The Calculator tells you '14'
t calcwill work as well.
The calculator internally works with double floats, so there's a limit to its precision.
If you're interested in details, here's the syntax it understands:
expression = factor | factorThe only constants available are
+expression | factor
-expression factor = unary | unary
*factor | unary
/factor | unary
modfactor unary = exp |
+unary | function unary exp = atom | exp
^unary | exp
**unary atom = number |
|| constant number = [0-9]+(\.[0-9]+)?([eE][+-]?[0-9]+)?
The functions available are
log (base 10
floor (round down),
ceil (round up),
trunc (truncate decimals),
round (round away from
The calculator can also factorize numbers:
tell calculator factor 4711The Calculator tells you 'The prime factors of 4711 are 7 and 673.'
Generated on Wed Sep 14 10:46:24 2022