Module:Coins: 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.

    9 November 2022

    • curprev 12:0312:03, 9 November 2022Jacmob talk contribs 1,941 bytes +1,941 Created page with "-- <pre> -- Implements {{Coins}} local p = {} local function amount(a) -- convert used globals to locals where possible to improve performance local math = math local string = string local table = table local mw = mw local expr = mw.ext.ParserFunctions.expr local ret = {'<span class="coins coins-', true, true, true, '</span>'} -- strip commas from input -- @example '123,456,789' a = string.gsub(a, ',', '') -- check for decimals/division to determi..."