Edit

DollarsToEnglish (amount [, CurrencyCode] [, languageCode])

Result Type: Text

Definition: Returns the dollar amount expressed in English words. Use this function for printing the dollar amount on cheques. If your local currency is GBP, EUR or NPR you will get “Pounds” and “pence” etc, other currencies will get “Dollars” and “cents”. You can force this by passing the optional CurrencyCode.

The optional languageCode parameter specifies the language for output. English is the default, and currently only French is supported; passing "fr" as the languagecode will return a French-language result.

Examples:  DollarsToEnglish(99)

returns “Ninety nine dollars only”.

DollarsToEnglish(12147.95)

returns “Twelve thousand, one hundred and forty seven dollars and ninety five cents”.

DollarsToEnglish(0.05, "GBP")

returns “Five pence”.

=DollarsToEnglish(12345.67, "CAD", "fr")

returns "Douze mille trois cent quarante-cinq dollars et 67/100"