RealGrid2 API
Interface
NumberFormatOptions

NumberFormatOptions

언어별로 다르게 표현되는 숫자, 화폐, 회계 를 표시하기 위한 formatOption

Signature:

export interface NumberFormatOptions 

Remarks

javascript 표준 라이브러리를 이용해서 format을 수행한다. Intl.NumberFormat (opens in a new tab)참조

Properties

PropertyTypeDescription
compactDisplay"short" | "long"
currencystring
currencyDisplaystring
currencySign'standard' | 'accounting'
excelFormatstring엑셀로 출력될때 사용할 서식을 지정한다.
localeMatcherstring
maximumFractionDigitsnumber
maximumSignificantDigitsnumber
minimumFractionDigitsnumber
minimumIntegerDigitsnumber
minimumSignificantDigitsnumber
notation'standard' | "scientific" | "engineering" | "compact"
numberingSystemstring
roundingIncrementnumber
roundingMode'ceil' | 'floor' | 'expand' | 'trunc' | 'halfCeil' | 'halfFloor' | 'halfExpand' | 'halfTrunc' | 'halfEven'
roundingPriority'auto' | 'morePrecision' | 'lessPrecision'
signDisplay"auto" | "always" | "exceptZero" | "never"
style'decimal' | 'currency' | 'percent' | 'unit'
trailingZeroDisplay'auto' | 'stripIfInteger'
unitstring
unitDisplay"short" | "long" | "narrow"
useGroupingtrue | false

Properties Desc

compactDisplay

Type - "short" | "long"


currency

Type - string


currencyDisplay

Type - string


currencySign

Type - 'standard' | 'accounting'


excelFormat

엑셀로 출력될때 사용할 서식을 지정한다.

Type - string


localeMatcher

Type - string


maximumFractionDigits

Type - number


maximumSignificantDigits

Type - number


minimumFractionDigits

Type - number


minimumIntegerDigits

Type - number


minimumSignificantDigits

Type - number


notation

Type - 'standard' | "scientific" | "engineering" | "compact"


numberingSystem

Type - string


roundingIncrement

Type - number


roundingMode

Type - 'ceil' | 'floor' | 'expand' | 'trunc' | 'halfCeil' | 'halfFloor' | 'halfExpand' | 'halfTrunc' | 'halfEven'


roundingPriority

Type - 'auto' | 'morePrecision' | 'lessPrecision'


signDisplay

Type - "auto" | "always" | "exceptZero" | "never"


style

Type - 'decimal' | 'currency' | 'percent' | 'unit'


trailingZeroDisplay

Type - 'auto' | 'stripIfInteger'


unit

Type - string


unitDisplay

Type - "short" | "long" | "narrow"


useGrouping

Type - true | false