Convert input to locale-aware currency words.
Defaults to currency: true when no currency option is provided.
currency: true
currency
Optional
toCurrencyWords('12.34', { locale: 'en' }) // "Twelve dollars and thirty-four cents" Copy
toCurrencyWords('12.34', { locale: 'en' }) // "Twelve dollars and thirty-four cents"
Convert input to locale-aware currency words.
Defaults to
currency: truewhen nocurrencyoption is provided.