Xojo.Math.Ceil
From Xojo Documentation
Method
Returns the ceiling of a number by rounding it up to the nearest whole number.
Sample Code
Get the ceiling of a number:
Ceil only works to whole numbers so if you want to round a value to a specific number of decimal places, you first have to multiple the number by 10^(number of decimal places), calculate the ceil and then divide it by the same value to get the number. For example, this example rounds 1.2345 to 1.3: