API Reference@grafana/data › toFixed

toFixed() function

toFixed() function

Signature

export declare function toFixed(value: number, decimals?: DecimalCount): string;

Import

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

Parameters

Parameter Type Description
value number
decimals DecimalCount

Returns:

string