45,647
edits
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 | -- 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)) |