I want my number to always get rounded to the closes upper number like this:
1.2 => 2 1.4 => 2
1.2 => 2
1.4 => 2
Use Math.ceil()
Math.ceil()
It does exactly what you want.