Skip to main content
Version: latest

PriceFormatterFormatOptions

Interface

Format options

Properties

cutFractionalByPrecision

Optional

Cuts price by priceScalePrecision, without rounding

Type

boolean


ignoreLocaleNumberFormat

Optional

Ignore locale number format settings like decimal/thousands separators

Type

boolean


removeAllEndingZeros

Optional

Remove all trailing zeroes in decimal part

Type

boolean


signNegative

Optional

Add minus sign to result string

Type

boolean


signPositive

Optional

Add plus sign to result string

Type

boolean


tailSize

Optional

Add tailSize digits to fractional part of result string

Type

number


useRtlFormat

Optional

Use Right to left format

Type

boolean