Help: math: note that floating point inputs are invalid

This commit is contained in:
scivision 2023-02-14 13:33:31 -05:00
parent 283432a1aa
commit 68a46505a3

View File

@ -9,7 +9,8 @@ Evaluate a mathematical expression.
Evaluates a mathematical ``<expression>`` and sets ``<variable>`` to the
resulting value. The result of the expression must be representable as a
64-bit signed integer.
64-bit signed integer. Floating point inputs are invalid e.g. ``1.1 * 10``.
Non-integer results e.g. ``3 / 2`` are truncated.
The mathematical expression must be given as a string (i.e. enclosed in
double quotation marks). An example is ``"5 * (10 + 13)"``.