snaps a value to the nearest increment
value to quantise
increment by which to snap
new value snapped to nearest increment
snaps a value to the nearest increment