local mather = {}
mather.__index = math
mather.e = math.exp(1)
function mather.ln(numb)
return math.log(numb)
end
function mather.log(numb)
return math.log10(numb)
end
function mather.logb(base,numb)
return math.log10 (numb)/math.log10(base)
end
function add(num1, num2)
local n1 = tonumber(num1)
local n2 = tonumber(num2)
return n1 + n2
end
local bnum = {0, 0}
function bnumtostr(n)
local num = mather.logb(n, 10)
local num2 = n/num
bnum[1] = num2
bnum[2] = num
return tostring(n)
end
print(bnumtostr(638333))
print(bnum[1], bnum[2])
To embed this project on your website, copy the following code and paste it into your website's HTML: