Skip to content

API reference / Common / Engine types / GridNumberFormat

Interface: GridNumberFormat ​

A number format the workbook defines — styleSheet/numFmts/numFmt (CT_NumFmt, §18.8.30), and the one a differential format carries, styleSheet/dxfs/dxf/numFmt. The paths below are given under styleSheet/numFmts/numFmt.

Its @numFmtId is not kept: it is the file's key for the format, which the import turns into a [GridNumberFormatId] and an export assigns afresh.

Properties ​

PropertyDescription
code
string
styleSheet/numFmts/numFmt/@formatCode — the format code (§18.8.31), as written.