/
trunc
trunc
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
Peacock
, multiple selections available,
Related content
trunc
More like this
trunc
More like this
round
More like this
round
More like this
fileTruncate
fileTruncate
More like this
Syntax and types
Syntax and types
Read with this