Skip to main content
Version: latest

NumericFormattingParams

Interface

Formatting options for numbers

Properties

decimal_sign

String that represents the decimal part of a number. This character separates the integer part from the fractional part.

Example

"123.4" // Using a dot as the decimal sign

Example

"123,4" // Using a comma as the decimal sign

Example

"123'4" // Using an apostrophe as the decimal sign

Type

string


grouping_separator

String that represents the grouping separator for large numbers. This character separates groups of thousands to improve readability.

Example

"1 234.5" // Using a space as the grouping separator

Example

"1,234.5" // Using a comma as the grouping separator

Type

string