On Apr 13 2005, at 21:40, Chipp Walters wrote:
What about?
put ceil(25.0) = 26, not the indended result.
Try:
function ceil pVal
if pVal mod trunc(pVal) = 0 then return pVal
return trunc(pVal)+1
end function
-Chipp
Alex Tweedly wrote:
Alex Tweedly wrote:
Don't think there's one built-in.
function ceil pVal
return ceil(pVal)+1
end ceil
Sorry - I meant
return trunc(pVal)+1
I can't believe we needed 10 mails to get that function right :D
--
official ChatRev page:
http://chatrev.cjb.net
Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev"
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution