@univerjs/sheets-numfmt v0.5.0-beta.1 • Docs
Function: getDecimalFromPattern()
function getDecimalFromPattern(pattern, defaultValue): number
the function decimal just use positive,negative configuration ignored
Parameters
Parameter | Type | Default value |
---|---|---|
pattern | string | undefined |
defaultValue | number | 0 |
Returns
number
Defined in
sheets-numfmt/src/utils/decimal.ts:22