Re: Adding discount script...
> If the price is 25.99 and you truncate 25, you carry an error of 99 cents.
> If you round to 26, the error is 1 cent. Rounding, the error is never
> larger than 50 cents.
Ok, I see now. Thanks for pointing that out. In my case, all my prices are
even dollar amounts, but I will keep that in mind if I ever need to change
it.
Thanks again.
|