setCellNumberFormat
On this page
Set the number format string on a cell.
setCellNumberFormat(cell: CellObject, fmt: string | number): CellObject
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cell | CellObject | Yes | The cell object to modify |
fmt | string | number | Yes | A number format string (e.g. "0.00%") or built-in format ID |
Returns
The same cell object, for chaining