User Tools

Site Tools


function:ROUND

Differences

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

Link to this comparison view

function:ROUND [2015/01/18 04:03] (current)
peternlewis created
Line 1: Line 1:
 +The ROUND() function takes a number and returns the nearest integer to the argument. ​ Numbers that are exactly half way (ie, end in "​.5"​) round away from zero.
  
 +    ROUND(5.4) === ROUND(5.1) === ROUND(4.5) === 5
 +    ROUND(-5.5) === ROUND(-5.9) === ROUND(-6.3) === -6
 +
 +See also [[CEIL]], [[FLOOR]], and [[TRUNC]].
function/ROUND.txt ยท Last modified: 2015/01/18 04:03 by peternlewis