The value to round with the given snap interval and offset.
The interval between output values. Should be a finite, non-zero number.
The offset of the interval. E.g. if snap is 10 and offset is 1, values will be
snapped to -19, -9, 1, 11, 21, 31, 41, ...
Rounds a value to the nearest snap interval.
Examples: