money.currency-digits
How many decimal places a currency's minor unit has, from the ISO 4217 list.
currency_digits in Python3 capabilities
currency_digits in Pythonpow in Pythonfractional_power in Python