snap-to grid (round function) | ScratchStats