Module:number base: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Reverted |
||
Line 5: | Line 5: | ||
function export.base12(n) | function export.base12(n) | ||
n = floor(tonumber(n)) | n = floor(tonumber(n)) | ||
local digits = " | local digits = "0123456789AB" | ||
local t = {} | local t = {} | ||
repeat | repeat |
Revision as of 23:09, 29 June 2023
Documentation for this module may be created at Module:number base/doc