This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datatoFixedScaled

toFixedScaled() function

toFixedScaled() function

Signature

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

Import

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

Parameters

Parameter Type Description
value number
decimals DecimalCount
ext string

Returns:

FormattedValue