User Tools

Site Tools


docu_round

Round a number to a given number of decimals

The first argument must be the number to be rounded. The second argument must be a positive integer number.

the ROUND function returns the number given as the first argument rounded to the number of decimals given as the second argument.

Examples

ROUND('123.456', 0) => 123

ROUND('123.456', 1) => 123.5

ROUND('-123.456', 2) => -123.46   
docu_round.txt · Last modified: 2018/08/18 13:24 by Niek