View Single Post
Old 01-19-2008, 05:51 PM   #8 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

The ceil function is used to round up a floating point number. (ex: ceil(1.79) = 2). Of course, you may want to use floor (to round down a number - floor(1.79) = 1), which is more appropriate than ceil in cases like this one, because 67 minutes means 1 hour and 7 minutes, not 2 hours. But you will have to decide for yourself what you need.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote