+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "formattedValueToString"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++

## formattedValueToString() function

### formattedValueToString() function

<b>Signature</b>

```typescript
export declare function formattedValueToString(val: FormattedValue): string;
```
<b>Import</b>

```typescript
import { formattedValueToString } from '@grafana/data';
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  val | <code>FormattedValue</code> |  |

<b>Returns:</b>

`string`

