Oct 2, 2006 #1 4345487 Programmer Dec 31, 2002 132 US Hi, This maybe a strange question but I need to do this. I want to round a number alwasy to the hights value. Example: If I have a number 5.7 I wnat to round to 6 If I have a number 5.3 I also wante to round it to be 6 not 5 Thanks
Hi, This maybe a strange question but I need to do this. I want to round a number alwasy to the hights value. Example: If I have a number 5.7 I wnat to round to 6 If I have a number 5.3 I also wante to round it to be 6 not 5 Thanks
Oct 2, 2006 #2 feherke Programmer Aug 5, 2002 9,540 RO Hi [tt]Math.ceil()[/tt] ? http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html#ceil(double) Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi [tt]Math.ceil()[/tt] ? http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html#ceil(double) Feherke. http://rootshell.be/~feherke/