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


currency


currencyDisplay


currencySign


excelFormat

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


localeMatcher


maximumFractionDigits


maximumSignificantDigits


minimumFractionDigits


minimumIntegerDigits


minimumSignificantDigits


notation


numberingSystem


roundingIncrement


roundingMode


roundingPriority


signDisplay


style


trailingZeroDisplay


unit


unitDisplay


useGrouping