math.ceil(number) returns the valuse put in, and if there is any decimal value, it goes up one. like:Zitat:
Zitat von Grimfate126
5 would be 5
5.1 would be 6
5.7 would be 6
8 would be 8
8.4 would be 9
I just came up with a formula that would return 1 or -1 based on if the number was positive or negative. Yeah, its a bit confusing, but it should work.
