User Tools

Site Tools


function:TRUNC

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

function:TRUNC [2015/01/18 03:59] (current)
peternlewis created
Line 1: Line 1:
 +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.txt ยท Last modified: 2015/01/18 03:59 by peternlewis