trunc(x)

Truncate the fractional portion of a number. For example, $trunc(4.9)=4, and $trunc(-4.9)=-4.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.