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