User Tools

Site Tools


function:TRUNC

**This is an old revision of the document!**

TRUNC Function

The TRUNC() function takes a number and returns the first integer that is equal to or closer to zero than the argument:

TRUNC(5.5) === TRUNC(5.1) === TRUNC(5) === 5
TRUNC(-5.5) === TRUNC(-5.1) === TRUNC(-5) === -5

See Also

Functions

function/TRUNC.1695198923.txt.gz · Last modified: 2023/09/20 04:35 by peternlewis