fixed currency_decimals method