API Reference@grafana/data › locale

locale() function

locale() function

Signature

export declare function locale(value: number, decimals: DecimalCount): FormattedValue;

Import

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

Parameters

Parameter Type Description
value number
decimals DecimalCount

Returns:

FormattedValue