+++
# -----------------------------------------------------------------------
# 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
Signature
```typescript
export declare function toFixedScaled(value: number, decimals: DecimalCount, scaledDecimals: DecimalCount, additionalDecimals: number, ext?: string): FormattedValue;
```
Import
```typescript
import { toFixedScaled } from '@grafana/data';
```
Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| value | number
| |
| decimals | DecimalCount
| |
| scaledDecimals | DecimalCount
| |
| additionalDecimals | number
| |
| ext | string
| |
Returns:
`FormattedValue`