Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Round function

Rounds a number to a specified number of decimal places.

Syntax

Round ( numExpr , places )

Elements

numExpr

Any numeric expression. The number to be rounded.

places

Any numeric expression representing the desired number of decimal places. If places is not an integer, it is converted to one.

Return value

Round returns a Double.

If the first non-significant digit is 5, and all subsequent digits are 0, the last significant digit is rounded to the nearest even digit. See the example that follows.

If places is negative, the number is rounded to places digits to the left of the decimal point. See the example that follows.

Language cross-reference

@Round function in formula language

See examples

Examples: Round function
Related topics
LotusScript Language Reference: Q through T
CInt function
Fix function
Fraction function
Int function




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009