Michael,
MR> Can someone out there help me? I have several fields in a form and
MR> report which calculate (straight addition of some fields multiplied by
MR> 15% [or .15]) other number fields. I need for them to round DOWN to the
MR> nearest whole number, regardless of the answer, but they, like any good
MR> mathematician, round UP if the calculation is X.5 or higher. Can I
MR> override this. I use PDOXWIN 5.0.
You can't override the built-in behavior of the round() function, but the
truncate() will remove the decimal portion.
Hope this helps...
-- Lance
--- Maximus 2.02
---------------
* Origin: Mountain Retreat (1:216/506)
|