getDecimalsForValue() function
getDecimalsForValue() function
Signature
export declare function getDecimalsForValue(value: number, decimalOverride?: DecimalCount): DecimalInfo;
Import
import { getDecimalsForValue } from '@grafana/data';
Parameters
Parameter | Type | Description |
---|---|---|
value | number |
|
decimalOverride | DecimalCount |
Returns:
DecimalInfo