☰
DDOCs
PARIN
v0.1.21
/
parin.joka.math
/
snap
🔍
☾
snap
fn
T snap(T)(T x, T step)
Returns
x
rounded to the nearest multiple of
step
.