Interface NumberFormatterCompactCompressedDigitsNumDecimalsOptions

Options for compressedDigitsNumDecimalsOptions parameter of the numberFormatter_compact and numberFormatter_compact_lite functions.

interface NumberFormatterCompactCompressedDigitsNumDecimalsOptions {
    "1"?: number;
    "2"?: number;
    "3"?: number;
}

Properties

Properties

"1"?: number

How many decimals there should be when there is 1 digit.

2
"2"?: number

How many decimals there should be when there are 2 digits.

1
"3"?: number

How many decimals there should be when there are 3 digits.

0