Interface ChainValueFormat

Structure to determine the representation format of [ChainValue] string

interface ChainValueFormat {
    decimalSeparator: string;
    fractionGroupSeparator: string;
    fractionGroupSize: number;
    groupSeparator: string;
    groupSize: number;
    secondaryGroupSize: number;
    suffix: string;
}

Properties

decimalSeparator: string

Decimal separator, Default: '.'

fractionGroupSeparator: string

Grouping separator of the fraction part, Default: ''

fractionGroupSize: number

Grouping size of the fraction part, Default: 0

groupSeparator: string

grouping separator of the integer part, Default: ','

groupSize: number

Primary grouping size of the integer part, Default: 3

secondaryGroupSize: number

Secondary grouping size of the integer part, Default 0

suffix: string

String to append, Default: ''