Hi,
While building a shopping cart for a client in Texas (where the sales tax rate is 8.25%), I noticed a rounding error when executing number_to_currency.
number_to_currency(0.825) will output $0.83, which is correct.
number_to_currency(10.825) will output $10.82, which is incorrect.
This "rounding down" occurs when rounding 10.825, 11.825, 12.825... all the way up to 31.825. 32.825 will round up to 32.83, which is correct.
I viewed the source code for number_to_currency and number_with_precision, but I couldn't find an error. Not sure what is wrong.
Brandon