JavaScript

A5.dnumber Namespace

Description

The namespace for number defaults.

Properties

decimalstring

The string used to represent a decimal place in a number. The default is a ".".

separatorstring

The string used to represent a thousands place in a number. The default is a ",".

currencyobject

Currency settings.

decimalsnumber

The number of decimals to show with the currency. The default is "2".

prefixstring

The currency prefix. The default is a "$".

suffixstring

The currency suffix. The default is blank.

Any properties in this namespace can be replaced in order to support other languages or formats.