There is not a truncate function. Basically you get "floor()" and "ceiling()" functions, which are great if you're trying for the integer value.
As far as I an tell, if you're looking to round to a fixed number of decimal places instead of the integer value, you'll have to do it the old-fashioned way: i.e. Multiply by 1XXXX, Round, Divide by 1XXXX. Hope this helps.
Ciao, K----------------
"If you were supposed to understand it, we wouldn't call it code" - FedEx
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.