NumberFormatOptions
언어별로 다르게 표현되는 숫자, 화폐, 회계 를 표시하기 위한 formatOption
Signature:
export interface NumberFormatOptions
Remarks
javascript 표준 라이브러리를 이용해서 format을 수행한다. Intl.NumberFormat (opens in a new tab)참조
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
compactDisplay | "short" | "long" | ||
currency | string | ||
currencyDisplay | string | ||
currencySign | 'standard' | 'accounting' | ||
excelFormat | string | 엑셀로 출력될때 사용할 서식을 지정한다. | |
localeMatcher | string | ||
maximumFractionDigits | number | ||
maximumSignificantDigits | number | ||
minimumFractionDigits | number | ||
minimumIntegerDigits | number | ||
minimumSignificantDigits | number | ||
notation | 'standard' | "scientific" | "engineering" | "compact" | ||
numberingSystem | string | ||
roundingIncrement | number | ||
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' | ||
unit | string | ||
unitDisplay | "short" | "long" | "narrow" | ||
useGrouping | true | false |
Properties Desc
compactDisplay
currency
currencyDisplay
currencySign
excelFormat
엑셀로 출력될때 사용할 서식을 지정한다.