1,131
edits
No edit summary |
No edit summary |
||
| Line 191: | Line 191: | ||
mw.log("is 1e10", sellvalue == 1e10) | mw.log("is 1e10", sellvalue == 1e10) | ||
if not(sellvalue =='N/A') and not(sellvalue == 1e10) then | if not(sellvalue =='N/A') and not(tonumber(sellvalue) == 1e10) then | ||
sellvalue = tonumber(sellvalue) | sellvalue = tonumber(sellvalue) | ||
| Line 221: | Line 221: | ||
mw.log("buyvalue", buyvalue) | mw.log("buyvalue", buyvalue) | ||
if not(buyvalue == 'N/A') and not(buyvalue == 1e10) then | if not(buyvalue == 'N/A') and not(tonumber(buyvalue) == 1e10) then | ||
buyvalue = tonumber(buyvalue) | buyvalue = tonumber(buyvalue) | ||
if buyvalue then | if buyvalue then | ||