4D v16

ROUND

Home

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



Siehe auch 

TRUNC
TRUNCATE

 
EIGENSCHAFTEN 

Produkt: 4D
Thema: Functions

 
GESCHICHTE 

 
ARTIKELVERWENDUNG

4D - SQL Reference ( 4D v16)