+ 2
Math.ceil() -> how to write a manual function which should perform similar to ceil()?
I used it in code coach challenge - new driver's license for ceiling up the result of a division, but would have been glad if i had manually written the functionality for ceil()
1 Odpowiedź
+ 3
Thanks bro
I too have found a one liner for manually ceiling division in java
(x/y)+(((x%y)!=0)?1:0 )