I want to round a number up even if it is less than 0.5.
In java, for example using the Math.round()
it rounds up 0.5 to 1 while rounds down 0.4 to 0.
I want 0.4 also to be rounded up to 1.
Expected Outcomes:
Input : 1.2, Output : 2
Input 1.1, Output : 2