4D v13.4

ROUND

Home

 
4D v13.4
ROUND

ROUND  


 

 

Command ROUNROUND (arithmetic_expression[, arithmetic_expression])

The ROUND function rounds the first arithmetic_expression passed to "x" decimal places (where "x" is the second optional arithmetic_expression passed). If the second arithmetic_expression is not passed, the arithmetic_expression is rounded off to the nearest whole number.

Example  

This example rounds the given number off to two decimal places:

ROUND (1234.1966, 2)
`returns 1234.2000

 
PROPERTIES 

Product: 4D
Theme: Functions

 
INDEX

Alphabetical list of commands

 
SEE ALSO 

TRUNC
TRUNCATE