Editing Module:Rates/Sandbox
From Ephinea PSO Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 48: | Line 48: | ||
end | end | ||
end | end | ||
-- These probably don't need to be redefined, but I'm still super new to Lua so I'll come back to it later xd | |||
local num1 = frac[1][1] | |||
local den1 = frac[1][2] | |||
local num2 = frac[2][1] | |||
local den2 = frac[2][2] | |||
return (num1/den1)*(num2/den2) | |||
end | end | ||