Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
ROUND
|
ROUND ( value , places ) | ||||||||
Parameter | Typ | Beschreibung | ||||||
value | Zahl |
![]() |
Number to round | |||||
places | Zahl |
![]() |
Number of decimal places | |||||
The ROUND function rounds the specified value to the nearest number, using the specified number of decimal places.
Use the value parameter to specify the number to round. You can pass any numeric data (or cell reference containing numeric data).
Note: The result may be rounded up or rounded down.
Use the places parameter to specify the number of decimal places. The places argument has these rules:
ROUND(A3,-2)
ROUND(C4,B2)
ROUND(PI(),5) //3.14159
ROUND(29.2,-2) //0 because 29.2 is closer to 0 than to 100.
ROUND(-1.963,0) //-2
Produkt: 4D
Thema: Formeln in 4D View Pro
4D View Pro Handbuch ( 4D v19)