posted 24 years ago
Hi Sean . The ceil and floor methods of Math class return INTEGRAL values as double values and not primitive type int.Thus if u say floor(13.2) it will return 13.0 , which is an integral value(13) converted to a double value , i.e 13.0.
I hope I have been clear enough.
------------------
Come on in !! Drinks are on the house in the Big Moose Saloon !!
Udayan Naik<BR>Sun Certified Programmer for the Java 2 Platform