Number: { format(fmt,
val,
rounding,
localizedSymbols?): string; isRoundingRequired(val,
fmt,
localizedSymbols?): boolean; rounding(valStr,
ri,
rounding,
minus): string; setScale(val,
scale,
rounding): BigDecimal; unformat(fmt,
val,
ignoreLocale,
localizedSymbols?): { divscale: number; raw: string; }; } = ... Type declaration
format:function
- format(fmt, val, rounding, localizedSymbols?): string
Parameters
fmt: string
val: string
rounding: number
Optional
localizedSymbols: LocalizedSymbols
Returns string
isRoundingRequired:function
- isRoundingRequired(val, fmt, localizedSymbols?): boolean
Parameters
val: string | number
fmt: string
Optional
localizedSymbols: LocalizedSymbols
Returns boolean
rounding:function
- rounding(valStr, ri, rounding, minus): string
Parameters
valStr: string
ri: number
rounding: number
minus: boolean
Returns string
setScale:function
- setScale(val, scale, rounding): BigDecimal
Parameters
scale: number
rounding: number
unformat:function
- unformat(fmt, val, ignoreLocale, localizedSymbols?): {
divscale: number;
raw: string;
} Parameters
fmt: string
val: string
ignoreLocale: boolean
Optional
localizedSymbols: LocalizedSymbols
Returns {
divscale: number;
raw: string;
}
divscale: number
raw: string