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

## toFixedScaled() function

### toFixedScaled() function

<b>Signature</b>

```typescript
export declare function toFixedScaled(value: number, decimals: DecimalCount, scaledDecimals: DecimalCount, additionalDecimals: number, ext?: string): FormattedValue;
```
<b>Import</b>

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

|  Parameter | Type | Description |
|  --- | --- | --- |
|  value | <code>number</code> |  |
|  decimals | <code>DecimalCount</code> |  |
|  scaledDecimals | <code>DecimalCount</code> |  |
|  additionalDecimals | <code>number</code> |  |
|  ext | <code>string</code> |  |

<b>Returns:</b>

`FormattedValue`

