Loading

TOINTEXACT


math
Since v1.2.23
Available on all platforms

The TOINTEXACT function consumes one LONG from the top of the stack and puts back the value. If the result overflows an INT, this function fails.

Since 2.6.0, this function can be applied to a list of numeric values.

Signature

Examples

42 TOINTEXACT <% MAXLONG 2 / TOINTEXACT %> <% ERROR 0 GET 'message' GET %> <% %> TRY