Revision history of "Module:BaseConvert"

Jump to navigation Jump to search

Diff selection: Mark the radio boxes of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 03:53, 15 January 2022Tachyony talk contribs 3,277 bytes +3,277 Created page with "local p = {} local digits = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' function normalizeFullWidthChars(s) return mw.ustring.gsub(s, '[!-~]', function(s) return mw.ustring.char(mw.ustring.codepoint(s, 1) - 0xFEE0) end) end function _convert(n, base, from, precision, width, default, prefix, suffix) n = '' .. n -- convert to a string -- strip off any leading '0x' (unless x is a valid digit in the input base) from = tonumber(from)..."