+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "getDecimalsForValue" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++ ## getDecimalsForValue() function ### getDecimalsForValue() function Signature ```typescript export declare function getDecimalsForValue(value: number, decimalOverride?: DecimalCount): DecimalInfo; ``` Import ```typescript import { getDecimalsForValue } from '@grafana/data'; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | value | number | | | decimalOverride | DecimalCount | | Returns: `DecimalInfo`