Question about division

Hi guys, sorry my question is very simple but I did not find an answer.

How can I divide a number but get only a value rounded up or down, but not a float ?

#// is for floor division:

1 // 2 # => 0

But if you want to possibly round up then prob would just have to use #/ then a #round.

1 Like

Thank you so much @Blacksmoke16

I guess you found about #ceil. There are also #round_away and #round_even which might be useful depending on the context.