# AggregatorFormatter

> _Since v0.2.6_

Formats the computed aggregation value for display in the cell.

Called after the aggregator function runs. Receives the raw computed value
and should return a display string (e.g. currency formatting, unit suffixes).

```ts
type AggregatorFormatter = (value: unknown, field: string, column: ColumnConfig) => string
```

#### Example

```typescript
const currencyFormatter: AggregatorFormatter = (value) =>
  `$${Number(value).toLocaleString('en-US', { minimumFractionDigits: 2 })}`;
```
