From 68a46505a30d40d3cd8e5535789b2cd231f44255 Mon Sep 17 00:00:00 2001 From: scivision Date: Tue, 14 Feb 2023 13:33:31 -0500 Subject: Help: math: note that floating point inputs are invalid --- Help/command/math.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Help/command/math.rst b/Help/command/math.rst index 8386aab..6989ebc 100644 --- a/Help/command/math.rst +++ b/Help/command/math.rst @@ -9,7 +9,8 @@ Evaluate a mathematical expression. Evaluates a mathematical ```` and sets ```` 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)"``. -- cgit v0.12