Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

The FORMAT-AS-CURRENCY is a directive for formatting a number as a currency as specified by the locale.


Code Block
format-as-currency :source :destination ['locale']

The source specifies the name of the column that contains number to be converted to currency as specified by locale. The destination contains the formatted value of currency as string. Optional locale specifies the locale to be used for formatting the number as string representation of currency in the source column.

Usage Notes

FORMAT-AS-CURRENCY can be used to format a number representing currency into a locale currency. If locale is not specified in the directive, a default of 'en_US' is assumed.