dojo/currency.__ParseOptions

Note: This is not a real constructor, but just a description of the type of object that should be passed as a parameter to some method(s), and/or the return value from some method(s). In other words, the type exists only for documentation purposes, and you cannot call new currency.__ParseOptions()

Properties

currency

Defined by: dojo/currency

an ISO4217 currency code, a three letter sequence like "USD". For use with dojo.currency only.

fractional

Defined by: dojo/currency

Whether to include the fractional portion, where the number of decimal places are implied by the currency or explicit 'places' parameter. The value [true,false] makes the fractional portion optional. By default for currencies, it the fractional portion is optional.

locale

Defined by: dojo/number

override the locale used to determine formatting rules

pattern

Defined by: dojo/number

override formatting pattern with this string. Default value is based on locale. Overriding this property will defeat localization. Literal characters in patterns are not supported.

places

Defined by: dojo/currency

fixed number of decimal places to accept. The default is determined based on which currency is used.

strict

Defined by: dojo/number

strict parsing, false by default. Strict parsing requires input as produced by the format() method. Non-strict is more permissive, e.g. flexible on white space, omitting thousands separators

symbol

Defined by: dojo/currency

localized currency symbol. The default will be looked up in table of supported currencies in dojo.cldr A ISO4217 currency code will be used if not found.

type

Defined by: dojo/currency

Should not be set. Value is assumed to be currency.

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/currency.__ParseOptions.html