$$numberformat
Usage​
Returns​
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | BigDecimal | Yes | ||
type | enum | NUMBER / DECIMAL /CURRENCY /PERCENT /INTEGER /COMPACT / BASE | NUMBER |
NUMBER type​
Usage​
Returns​
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | ||||
type | const | NUMBER |
DECIMAL type​
Usage​
Returns​
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | ||||
type | const | DECIMAL | ||
locale | string | "en-US" | ||
pattern | string | "#0.00" | ||
grouping | string | "," | ||
decimal | string | "." |
CURRENCY type​
Usage​
Returns​
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | ||||
type | const | CURRENCY | ||
locale | string | "en-US" | ||
currency | string |
PERCENT type​
Usage​
Returns​
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | ||||
type | const | PERCENT | ||
locale | string | "en-US" |
INTEGER type​
Usage​
Returns​
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | ||||
type | const | INTEGER | ||
locale | string | "en-US" |
COMPACT type​
Usage​
Returns​
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | ||||
type | const | COMPACT | ||
locale | string | "en-US" | ||
compact_style | enum | SHORT / LONG | SHORT |
BASE type​
Usage​
Returns​
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | ||||
type | const | BASE | ||
radix | integer | 10 |