# PivotFormat (@salmonui/pivot-table/engine)

> The PivotFormat interface of @salmonui/pivot-table/engine: Intl.NumberFormat options (or date options for date members) per value or field.

Canonical: https://salmonui.dev/docs/reference/pivot-table/engine/PivotFormat

```ts
import type { PivotFormat } from '@salmonui/pivot-table/engine';
```

Also exported from `@salmonui/pivot-table`.

Entry index: https://salmonui.dev/docs/reference/pivot-table/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pivot-table/engine.md).

## Reference

Kind: interface

```ts
interface PivotFormat {
    readonly number?: Intl.NumberFormatOptions;
    readonly date?: Intl.DateTimeFormatOptions;
    readonly locale?: string;
}
```

`Intl.NumberFormat` options (or date options for date members) per value or field.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `number` | `readonly number?: Intl.NumberFormatOptions;` | optional |  |
| `date` | `readonly date?: Intl.DateTimeFormatOptions;` | optional |  |
| `locale` | `readonly locale?: string;` | optional |  |
