I want to tun numbers like -4 or even -100 into just 0. I know a way to do this but i want to make sure there isint just a math function to do this easily
you can use math.max for this
math.max(yournumberhere,0)
math.max basically returns the highest number, and 0 is higher than -1, -2 and so on…
2 Likes