Module:ShipInfobox: Difference between revisions

Content deleted Content added
mNo edit summary
mNo edit summary
Line 45:
-- fixes numbers with commas, e.g: 4,323
function Infobox.FormatCost( field, vars )
if isempty(field.CostValue) then
return '---'
else
field.Cost = FormatNum.commavalue(field.CostValue)
return Infobox.Quantify(field, vars)
end