2,875
edits
(Add rounding to outputs) |
m (Add thousand separator to item quantity) |
||
Line 175: | Line 175: | ||
qtyCell:node(getErrorDiv("Unable to parse quantity for item: " .. i.name)) | qtyCell:node(getErrorDiv("Unable to parse quantity for item: " .. i.name)) | ||
else | else | ||
qtyCell:wikitext(num. | local qty = num.round2(i.amount) | ||
qtyCell:wikitext(num.formatnum(qty)) | |||
end | end | ||
qtyCell:done() | qtyCell:done() |
edits