Originally Posted by djr33 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
Forum Rules
Bookmarks