Description
Truncates a number to a specified precision.
Parameters
Return Type
Number
Example
number a = trunc(1.1578212823495777, 3); print("a= " + a);
Prints: a= 1.157;
See also
We've encountered an issue exporting this macro. Please try exporting this page again later.