Jump to content

Module:NumberAbbr: Difference between revisions

MisterChuChu (talk | contribs)
No edit summary
MisterChuChu (talk | contribs)
Add minus to abbr tag title
Line 58: Line 58:
end
end
return (math.log10(n2)>=3 and ep>=s) and (abt and "<abbr title=\""..n.."\">" or "")..(m>0 and "-" or "")..nn..""..(not isinf and p.illion({args={math.floor(ep/3-1)}}) or "")..(abt and "</abbr>" or "") or nb
m=m>0 and "-" or ""
return (math.log10(n2)>=3 and ep>=s) and (abt and "<abbr title=\""..m..n.."\">" or "")..m..nn..""..(not isinf and p.illion({args={math.floor(ep/3-1)}}) or "")..(abt and "</abbr>" or "") or nb
end
end
end
end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.