Quote Originally Posted by djr33 View Post
mike, that assumes that the input will be given in cents.
Yes, of course. That's precisely how the function is defined.

Read my previous post again: monetary calculations should not be performed using floating-point numbers.

Mike