Shouldn’t FormatCurrency be truncating decimals for locales that do not use decimals? For example, if I’m doing a price conversion from Dollars to Yen, Yen doesn’t have decimals.
Did you got some solution for this? I have the same problem, I don’t want decimals and I get an error if I try to use ‘formatNumber’: Call to protected method CNumberFormatter::formatNumber() from context 'CBaseController.