Function precisionFixed

  • Returns a suggested decimal precision for fixed point notation given the specified numeric step value.

    Parameters

    • step: number

      The step represents the minimum absolute difference between values that will be formatted. (This assumes that the values to be formatted are also multiples of step.)

    Returns number