> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# createNumberJsFormatter()

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/base/results/dataAccessConfig.ts

Creates value formatter that uses `@gooddata/number-formatter` to format raw measure values according to the format string.

**Signature:**

```typescript
export declare function createNumberJsFormatter(separators?: ISeparators): ValueFormatter;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| separators | [ISeparators](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iseparators/index.md) | _(Optional)_ number separators to use. if not specified then `numberjs` defaults will be used |

**Returns:**

[ValueFormatter](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.valueformatter/index.md)

## Remarks

By default, the format will strip away all the coloring information and just return the value as string.
