Module:number base: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 5: Line 5:
function export.base12(n)
function export.base12(n)
     n = floor(tonumber(n))
     n = floor(tonumber(n))
     local digits = "0123456789AB"
     local digits = "0123456789¹²"
     local t = {}
     local t = {}
     repeat
     repeat