I have code that gets the likes and dislikes on my game, and thus can display the current games ratings.
local CurrentPercent = math.floor((Likes / (Likes + Dislikes)) * 10000) / 100
However, I want to take this and figure out how many likes are needed to reach a specific percent.
So if CurrentPercent
returns 73.21%, I want it to figure out how many more likes the game would need to get to 75% ratings