User Tools

Site Tools


function:TRUNC

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

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 CEIL, FLOOR, and ROUND.

function/TRUNC.1421571557.txt.gz · Last modified: 2015/01/18 03:59 by peternlewis