Rounding float to nearest multiple of a set float?

Hi, I’m trying to create a movable vector in blueprint that snaps to multiples of a float that I have set in a veritable. My problem however is that I don’t know how to clamp the vectors x, y, z values to multiples of the float.

Any help would be much appreciated, thank you.

Something like this:

Idea is to DIVIDE by your step size , then multiply by it but skipping remainder part.

exactly what I needed. Thank you for your help

wow thanks :smiley: