Class FixedDecimalFormatter
Constructors
Accessors
ffiValue
- get ffiValue(): number
Returns number
Methods
format
- format(value): string
Returns string
Static
createWithGroupingStrategy
- createWithGroupingStrategy(provider, locale, groupingStrategy): FixedDecimalFormatter
Static
createWithManualData
- createWithManualData(plusSignPrefix, plusSignSuffix, minusSignPrefix, minusSignSuffix, decimalSeparator, groupingSeparator, primaryGroupSize, secondaryGroupSize, minGroupSize, digits, groupingStrategy): FixedDecimalFormatter
Parameters
- plusSignPrefix: string
- plusSignSuffix: string
- minusSignPrefix: string
- minusSignSuffix: string
- decimalSeparator: string
- groupingSeparator: string
- primaryGroupSize: number
- secondaryGroupSize: number
- minGroupSize: number
- digits: number[]
- groupingStrategy: FixedDecimalGroupingStrategy
An ICU4X Fixed Decimal Format object, capable of formatting a [
FixedDecimal
] as a string.See the Rust documentation for
FixedDecimalFormatter
for more information.