숫자 및 날짜 변환 가이드
숫자 변환 가이드
BO 숫자변환 가이드 (format-number.ts)
export function fNumber(inputValue: InputNumberValue, options?: Options) {
const locale = formatNumberLocale() || DEFAULT_LOCALE
const number = processInput(inputValue)
if (number === null) return ''
const fm = new Intl.NumberFormat(locale.code, {
minimumFractionDigits: 0,
maximumFractionDigits: 2,
...options
}).format(number)
return fm
}날짜 변환 가이드
BO 날짜변환 가이드 (common-utils.ts)
BO 날짜 패턴 상수 (common-constants.ts)
날짜 패턴 유형
토큰
예시 출력
설명
마지막 업데이트