PriceFormatterFormatOptions
Interface
Format options
Properties
cutFractionalByPrecision
OptionalCuts price by priceScalePrecision, without rounding
Type
boolean
ignoreLocaleNumberFormat
OptionalIgnore locale number format settings like decimal/thousands separators
Type
boolean
removeAllEndingZeros
OptionalRemove all trailing zeroes in decimal part
Type
boolean
signNegative
OptionalAdd minus sign to result string
Type
boolean
signPositive
OptionalAdd plus sign to result string
Type
boolean
tailSize
OptionalAdd tailSize
digits to fractional part of result string
Type
number
useRtlFormat
OptionalUse Right to left format
Type
boolean