Module:ShipInfobox: Difference between revisions
Content deleted Content added
m Testing to format cost |
mNo edit summary |
||
Line 45:
-- fixes numbers with commas, e.g: 4,323
function Infobox.FormatCost( field, vars )
return '---'
return Infobox.Quantify(field, vars)▼
else
field.Cost = FormatNum.commavalue(field.Cost)
▲ return Infobox.Quantify(field, vars)
end
end
| |||