Ga naar inhoud
Contact us

Round()

Round ( x , n )

ArgumentBeschrijving
xHet getal dat u wilt afronden.
nHet aantal decimalen waarop u x wilt afronden. Geldige waarden zijn 0 tot en met 28.

Gegevenstype: Decimal Als n positief is, retourneert Round x afgerond op het opgegeven aantal decimalen. Als n negatief is, retourneert de functie x afgerond op (- n +1) posities vóór de decimale komma.

Round(9.624, 2)

Deze expressie retourneert 9.62

Round(9.625, 2)

Deze expressie retourneert 9.63

Round(9.6, 3)

Deze expressie retourneert 9.600

Round(-9.625, 2)

Deze expressie retourneert -9.63

Deze expressie retourneert -10:

Round(-9.625, -1)