Help with percentage script

hey everyone I need your help with a script. I made the script to get the percentage of how much exp you have relative to how much you need to level up. The problem I have is when it gives the percentage I’m getting numbers like 1.3428940% but I want the numbers to be rounded off to the nearest 10

This is the script I’m using.

math.floor() would round it. Or you could use the math.round function

1 Like

It worked, Thanks for the help!

math.round((num1 / num2) * 100)

1 Like