This function creates a number format for a cell in a spreadsheet. Number formats define how numeric values are displayed, including dates, times, currencies, percentages, and more.
Usage
create_numfmt(numFmtId, formatCode)
Value
A formatted number format object to be used in a spreadsheet.
Arguments
numFmtId
An ID representing the number format. The list of valid IDs can be found in the Details section of create_cell_style().
formatCode
A format code that specifies the display format for numbers. This can include custom formats for dates, times, and other numeric values.