Anonymous

Module:Shared: Difference between revisions

From Melvor Idle
numStrWithSign: Shared -> p
(moved numStrWithSign here from Items/ComparisonTables)
(numStrWithSign: Shared -> p)
Line 362: Line 362:
function p.numStrWithSign(number)
function p.numStrWithSign(number)
   if number >= 0 then
   if number >= 0 then
     return '+'..Shared.formatnum(number)
     return '+'..p.formatnum(number)
   else
   else
     return Shared.formatnum(number)
     return p.formatnum(number)
   end
   end
end
end


return p
return p