function percenttochance(num)
    local chance =  100/num
    return "1/"..chance
end
function chancetopercent(num)
    local percent =  100/num
    return percent.."%"
end

function chancebigtochance(m, n)
    return "1/"..(m/n)
end

function chancetobigchance(m, n)
    local thing = m/n
    return thing
end
    


print(chancebigtochance(1000, 10))
print(chancetobigchance(10000, 25))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: