Hi, i’m making serialization module for my game, and i wan’t to check if number is a power of another number, but how i can make this?
1 Like
ok i found that every power can be divided by the same number, soo yea. this is code
if number%i == 0 then
toReturn = i.."/"..math.log(number,i)
end
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.