Module:number utilities: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons 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.

21 April 2026

  • curprev 10:2410:24, 21 April 2026 Sware talk contribs 957 bytes +957 Created page with "local export = {} function export.get_number(text) if text == '' or text == nil then return nil end if type(text) == 'string' then text = mw.ustring.gsub(text, ",", "") end local j = tonumber(text) if j ~= nil then return j else return nil end end function export.is_number(frame) return export.get_number(frame:getParent().args[1]) end function export.is_hex_number(frame) local args = frame:getParent().args local hex = args[1] if hex then hex = m..."