Hierarchy

  • NumberFormatInfo

Implements

Index

Constructors

constructor

  • new NumberFormatInfo(numberDecimalSeparator?: string, numberDecimalDigits?: number, numberGroupSeparator?: string, numberGroupSizes?: number[], numberNegativePattern?: number, currencyDecimalDigits?: number, currencyDecimalSeparator?: string, currencyGroupSeparator?: string, currencyGroupSizes?: number[], currencyNegativePattern?: number, currencyPositivePattern?: number, currencySymbol?: string, percentDecimalDigits?: number, percentDecimalSeparator?: string, percentGroupSeparator?: string, percentGroupSizes?: number[], percentNegativePattern?: number, percentPositivePattern?: number, percentSymbol?: string, perMilleSymbol?: string, positiveInfinitySymbol?: string, positiveSign?: string, NaNSymbol?: string, negativeInfinitySymbol?: string, negativeSign?: string): NumberFormatInfo
  • Parameters

    • Optional numberDecimalSeparator: string
    • Optional numberDecimalDigits: number
    • Optional numberGroupSeparator: string
    • Optional numberGroupSizes: number[]
    • Optional numberNegativePattern: number
    • Optional currencyDecimalDigits: number
    • Optional currencyDecimalSeparator: string
    • Optional currencyGroupSeparator: string
    • Optional currencyGroupSizes: number[]
    • Optional currencyNegativePattern: number
    • Optional currencyPositivePattern: number
    • Optional currencySymbol: string
    • Optional percentDecimalDigits: number
    • Optional percentDecimalSeparator: string
    • Optional percentGroupSeparator: string
    • Optional percentGroupSizes: number[]
    • Optional percentNegativePattern: number
    • Optional percentPositivePattern: number
    • Optional percentSymbol: string
    • Optional perMilleSymbol: string
    • Optional positiveInfinitySymbol: string
    • Optional positiveSign: string
    • Optional NaNSymbol: string
    • Optional negativeInfinitySymbol: string
    • Optional negativeSign: string

    Returns NumberFormatInfo

Properties

NaNSymbol

NaNSymbol: string = "NaN"

currencyDecimalDigits

currencyDecimalDigits: number = 2

currencyDecimalSeparator

currencyDecimalSeparator: string = ","

currencyGroupSeparator

currencyGroupSeparator: string = " "

currencyGroupSizes

currencyGroupSizes: number[] = [3]

currencyNegativePattern

currencyNegativePattern: number = 5

currencyPositivePattern

currencyPositivePattern: number = 1

currencySymbol

currencySymbol: string = "$"

negativeInfinitySymbol

negativeInfinitySymbol: string = "-Infinity"

negativeSign

negativeSign: string = "-"

numberDecimalDigits

numberDecimalDigits: number = 2

numberDecimalSeparator

numberDecimalSeparator: string = "."

numberGroupSeparator

numberGroupSeparator: string = " "

numberGroupSizes

numberGroupSizes: number[] = [3]

numberNegativePattern

numberNegativePattern: number = 1

perMilleSymbol

perMilleSymbol: string = "‰"

percentDecimalDigits

percentDecimalDigits: number = 2

percentDecimalSeparator

percentDecimalSeparator: string = ","

percentGroupSeparator

percentGroupSeparator: string = " "

percentGroupSizes

percentGroupSizes: number[] = [3]

percentNegativePattern

percentNegativePattern: number = 1

percentPositivePattern

percentPositivePattern: number = 1

percentSymbol

percentSymbol: string = "%"

positiveInfinitySymbol

positiveInfinitySymbol: string = "Infinity"

positiveSign

positiveSign: string = "+"

Methods

getFormat

  • getFormat(formatType: Type): any

Generated using TypeDoc