round PowerHome formula function
Description
Rounds a number to the specified number of decimal places.
Syntax
round ( x , n )
Argument |
Description |
x
|
The number you want to round
|
n
|
The number of decimal places to which you want to round x
|
Return value
Decimal. If n is positive, Round returns x rounded to the specified number of decimal places. If n is negative, it returns x rounded to (- n +1) places before the decimal point. Returns -1 if it fails.