Template:Neg

From Sarkarverse
Revision as of 09:16, 28 December 2013 by T12 (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<span class="sortkey">-{{{1}}} </span>−{{{1}}}

Use this template to display a number with the HTML character entity &minus; but preceded by that same number with an ASCII hyphen-minus as non-visible text for correct numerical sorting in a sortable table.

Example: "{{neg|1.23}}" gives "-1.23 −1.23" [1]. (Click on the link to see the full text generated, including non-visible portions.)