CEILING(theNumber as Float)
liefert: eine Ganzzahl
Beschreibung
liefert eine Ganzzahl indem theNumber auf die nächst höhere Ganzzahl gerundet wird. Negative Zahlen werden auf die nächst höhere negative Zahl gerundet.
Beispiel
Dim x as float
Dim result as integer
x=-33.2
result=ceiling(x) ‘liefert als Ergebnis -33