API Reference@grafana/data › toFixedScaled

toFixedScaled() function

toFixedScaled() function

Signature

export declare function toFixedScaled(value: number, decimals: DecimalCount, scaledDecimals: DecimalCount, additionalDecimals: number, ext?: string): FormattedValue;

Import

import { toFixedScaled } from '@grafana/data';

Parameters

Parameter Type Description
value number
decimals DecimalCount
scaledDecimals DecimalCount
additionalDecimals number
ext string

Returns:

FormattedValue