summaryrefslogtreecommitdiffstats
path: root/Help/command/math.rst
blob: 38fde1d9d048c28c65af4262d66e20bca93dafcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
math
----

Mathematical expressions.

::

  math(EXPR <output variable> <math expression>)

EXPR evaluates mathematical expression and returns result in the
output variable.  Example mathematical expression is '5 * ( 10 + 13
)'.  Supported operators are + - * / % | & ^ ~ << >> * / %.  They have
the same meaning as they do in C code.