Increment equation

So Iā€™m not sure if this has already been found, probably has, but if you use the equation:

math.floor((number+(studs/2))*(1/studs))/(1/studs)

you can make a number go to the nearest increment you put, number being your start number and studs being the increment you want, just something I wanted to share with the Roblox community :slight_smile:

2 Likes