Module:number base: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 3: Line 3:
local floor, insert = math.floor, table.insert
local floor, insert = math.floor, table.insert


-- Ross Berteig on SO: https://stackoverflow.com/a/3554821/13154853
-- Ross Berteig on SO: https://stackoverflow.com/a/3554821
function export.base12(n)
function export.base12(n)
     n = floor(tonumber(n))
     n = floor(tonumber(n))

Navigation menu