Your Airkit journey starts here

TRUNC

Removes the fractional part of a number

Declaration

TRUNC(number, digits) -> number

Parameters

number
number -The number you want to truncate.
digits
number -The precision you want to truncate to.

Return Values

number
number -The truncated number