matician - v2.0.0
    Preparing search index...

    Function roundToNearest

    • Rounds a number to the nearest multiple of the specified step.

      Parameters

      • value: number
      • step: number

      Returns number