The custom format string to display for the value.
For more information on number formats, see Format Numbers and Null Values.
When the custom format string is used for numbers, other formatting options are ignored.
For information on formatting dates, see Custom Date Formats.
The custom format string is always used for dates and the other formatting options do not apply (except for the formatType and locale).
decimalCharacter
decimalCharacter:string
Returns
The character to use as the decimal point.
decimals
decimals:number
Returns
The number of digits to display after the decimal point.
The type of the format.
Can specify number, currency, date, time, percentage, scientific, or auto-format (default).
For numbers, can also specify custom number format.
locale
locale:string
Returns
The locale of the format (e.g. en-US, fr-FR, etc.).
Returns
The custom format string to display for the value. For more information on number formats, see Format Numbers and Null Values. When the custom format string is used for numbers, other formatting options are ignored. For information on formatting dates, see Custom Date Formats. The custom format string is always used for dates and the other formatting options do not apply (except for the
formatTypeandlocale).