How to round a number to its next integer with Make?

:robot: Make Bot here bringing solutions to some of your FAQs :robot:



:question: :question: :question:

Can you tell me how I can round a number up to the next whole number? For example, if I have the number 4.1, I would like it to become 5. Is there a function in Make that can help me do this? I already use the round function but it only works if the number is 4.5 or higher.



:reply: :reply::reply:

Thats where youd wanna apply the :arrow_right: ceil function.

What it does is that it t takes a number and rounds it up to the next highest whole number.
For example, if you give it the number 3.4, it will return the number 4.



Helpful Links:
:make: Math functions on Make
[Getting Started with Functions p. 2] Math Functions