Class RVNumberFormattingSpec

Number field formatting specification

Hierarchy

Index

Constructors

constructor

Accessors

applyMkFormat

  • get applyMkFormat(): boolean
  • set applyMkFormat(value: boolean): void
  • Apply M/K format. Default is false. It only applies to some of the visualizations (e.g. charts)

    Returns boolean

  • Apply M/K format. Default is false. It only applies to some of the visualizations (e.g. charts)

    Parameters

    • value: boolean

    Returns void

currencySymbol

  • get currencySymbol(): null | string
  • set currencySymbol(value: null | string): void
  • Custom currency symbol

    Returns null | string

  • Custom currency symbol

    Parameters

    • value: null | string

    Returns void

decimalDigits

  • get decimalDigits(): number
  • set decimalDigits(value: number): void
  • Number of decimal digits. Default is 0.

    Returns number

  • Number of decimal digits. Default is 0.

    Parameters

    • value: number

    Returns void

formatType

locale

  • get locale(): null | string
  • set locale(value: null | string): void
  • Locale used for numerals and date names. Must be in ISO language - ISO country format. E.g.: 'en-us'.

    Returns null | string

  • Locale used for numerals and date names. Must be in ISO language - ISO country format. E.g.: 'en-us'.

    Parameters

    • value: null | string

    Returns void

negativeFormat

showGroupingSeparator

  • get showGroupingSeparator(): boolean
  • set showGroupingSeparator(value: boolean): void
  • Show/Hide grouping separator

    Returns boolean

  • Show/Hide grouping separator

    Parameters

    • value: boolean

    Returns void