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
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.
