snap

fnT snap(T)(T x, T step)

Returns x rounded to the nearest multiple of step.