View as Markdown

SDK reference · Rails

currencyExponent

currencyExponent in @provenanceauth/rails/acp, Rails. The ISO 4217 minor-unit exponent for a currency (2 unless listed as 0- or 3-decimal).

Signature

currencyExponent(currency: string): number

Parameters

currencystringRequired

Returns

number

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.