Module:number base: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 6: Line 6:
function export.base12(n)
function export.base12(n)
     n = floor(tonumber(n))
     n = floor(tonumber(n))
     local digits = "0123456789¹²"
     local digits = "0123456789SR"
     local t = {}
     local t = {}
     repeat
     repeat