Content deleted Content added
No edit summary |
No edit summary |
||
Line 8:
local lines = mw.text.split( data, '\n' )
local params = mw.text.split( lines[#lines], ';' )
local total1, total2 = 0, 0
repeat
if j == 6 then
total1 = tonumber( string.gsub( params[i], ',', '' ) )
elseif j == 8 then
total2 = tonumber( string.gsub( params[i], ',', '' ) )
end
if not string.find( params[i], '^ *%a' ) then
j = j + 1
end
i = i + 1
until i == n or j == 8
--return math.max( string.gsub( params[6], ',', '' ), string.gsub( params[8], ',', '' ) )
end
|