Anonymous

Module:Calculator/ItemEconomy: Difference between revisions

From Melvor Idle
m
Numberic formatting
m (Fix: Actually return the table)
m (Numberic formatting)
Line 71: Line 71:
if ecoType == ECOIN then
if ecoType == ECOIN then
addTableRow(tbl, "Desired Output", userAmount)
addTableRow(tbl, "Desired Output", shared.formatnum(userAmount))
addTableRow(tbl, "Estimated Input", calcAmount)
addTableRow(tbl, "Estimated Input", shared.formatnum(calcAmount))
else
else
addTableRow(tbl, "Starting Items", userAmount)
addTableRow(tbl, "Starting Items", shared.formatnum(userAmount))
addTableRow(tbl, "Estimated Output", calcAmount)
addTableRow(tbl, "Estimated Output", shared.formatnum(calcAmount))
end
end
2,875

edits