Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Common: Revision history

From AoM Retold

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.

10 October 2024

  • curprev 14:4114:41, 10 October 2024Adam talk contribs 5,610 bytes +5,610 Created page with "local common = {} --- Convert an input to number ---@param num string|integer Input ---@param onFail string|integer Output if conversion fails ---@param base integer Base for tonumber, defaults to 10 ---@return number function common.toNumber( num, onFail, base ) base = base or 10 if num == nil then return onFail end local numCopy = num if type( num ) == 'string' then numCopy = num:gsub( ',', '.' ) end numCopy = tonumber( numCopy..."
Cookies help us deliver our services. By using our services, you agree to our use of cookies. We only use cookie to make the site function and save your preferences, nothing else.