Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function ROUND

Rounds a number to the closest integer.

Example

round(number number,[number precision]):number

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
number number  Yes   Number to round  
precision number  No 0 Number of decimal points to round to