Versions Compared

Key

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

The PARSE-AS-CURRENCY is a directive for parsing a currency value that is a string representation of locale currency into a number.

Syntax

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

The source specifies the name of the column that contains string representation of locale currency. The destination contains the parsed value of currency as double. Optional locale specifies the locale to be used for parsing the string representation of currency in the source column.

Usage Notes

PARSE-AS-CURRENCY can be used to parse a string representation of currency into a number. If locale is not specified in the directive, a default of 'en_US' is assumed.

...