weasel API - v0.8.0
    Preparing search index...

    Function roundToCell

    • Round value to the nearest multiple of cellSize. Returns 0 when the result would be -0.

      Parameters

      • value: number
      • cellSize: number

      Returns number