4D v14

ROUND

Home

 
4D v14
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

 
SEE ALSO 

TRUNC
TRUNCATE

 
ARTICLE USAGE

4D SQL Reference ( 4D v11 SQL Release 4 )
4D SQL Reference ( 4D v14)
4D SQL Reference ( 4D v12.1)
4D SQL Reference ( 4D v13.4)
4D SQL Reference ( 4D v14 R2)
4D SQL Reference ( 4D v14 R3)
4D SQL Reference ( 4D v14 R4)