# escapeCsvFormula (@salmonui/data-grid/engine/export)

> The escapeCsvFormula function of @salmonui/data-grid/engine/export: Prefixes ' to formula-like text; a numeric value whose text reads as a number stays as is.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine-export/escapeCsvFormula

```ts
import { escapeCsvFormula } from '@salmonui/data-grid/engine/export';
```

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

## Reference

Kind: function

```ts
function escapeCsvFormula(text: string, value?: unknown): string;
```

Prefixes `'` to formula-like text; a numeric `value` whose text reads as a number stays as is.
