Math formula to round numbers to ceiling

HI, so i need to round numbers up to the nearest full integer. So for instance if my number is 1.2 it has to round up to 2. But i noticed that with the “round” formula it rounds down to the nearest integer which would be 1. But in my use case this would lead to wrong calculations.

Is there a way to round any number with decimals up to the ceiling??

Thanks.

Math.ceil(1.2)

Thanks Dorilama, i was hoping i could be done with formulas from weweb themselves. This looks easy enough to do, i’ll try this.

1 Like