# formatValue (@salmonui/core/format)

> The formatValue function of @salmonui/core/format: Formats a value like a column format would (template helper). Formatters are shared per (locale, currency, time zone).

Canonical: https://salmonui.dev/docs/reference/core/format/formatValue

```ts
import { formatValue } from '@salmonui/core/format';
```

Entry index: https://salmonui.dev/docs/reference/core/format (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/format.md).

## Reference

Kind: function

```ts
function formatValue(value: unknown, format?: string | FormatOptions, options?: FormatterOptions & {
    readonly type?: ColumnType;
}): string;
```

Formats a value like a column format would (template helper). Formatters are shared per (locale, currency, time zone).
