Skip to main content

Interface: PriceFormatterFormatOptions

Broker.PriceFormatterFormatOptions

Number format options

Hierarchy​

Properties​

cutFractionalByPrecision​

Optional

cutFractionalByPrecision: boolean

Cuts price by priceScalePrecision, without rounding


ignoreLocaleNumberFormat​

Optional

ignoreLocaleNumberFormat: boolean

Ignore locale number format settings like decimal/thousands separators

Inherited from​

SymbolValueFormatterFormatOptions.ignoreLocaleNumberFormat


noExponentialForm​

Optional

noExponentialForm: boolean

Disable exponential form

Inherited from​

SymbolValueFormatterFormatOptions.noExponentialForm


removeAllEndingZeros​

Optional

removeAllEndingZeros: boolean

Remove all trailing zeroes in decimal part


signNegative​

Optional

signNegative: boolean

Add minus sign to result string


signPositive​

Optional

signPositive: boolean

Add plus sign to result string

Inherited from​

SymbolValueFormatterFormatOptions.signPositive


tailSize​

Optional

tailSize: number

Add tailSize digits to fractional part of result string


useRtlFormat​

Optional

useRtlFormat: boolean

Use Right to left format