Interface ExcelFormattedValueIf

A cell of an Excel matrix with a number format, e.g. a share shown as percentage. Understood by ExcelService (supportsNumberFormats).

Example

await new ExcelService().downloadExcel([["Share"], [{ value: 0.667, numberFormat: "0.0%" }]], "shares.xlsx");

Since

1.1.95

Hierarchy

  • ExcelFormattedValueIf

Properties

Properties

numberFormat: string

An Excel number format code, e.g. "0.0%", "#,##0.00".

value: number

The number.