CurrencyExponent

CurrencyExponent(code): int

Get currency exponent

Table 1. Parameters

code

String

Currency numeric or character code as a String

Return

Currency exponent, or 0 if currency not found.

println(CurrencyExponent("EUR")); // Will print 2
println(CurrencyExponent("978")); //Will print 2