Template:Exprsign

From Orain Meta
Revision as of 18:46, 13 September 2013 by imported>Wikid77 (created, as a common utility template, to put &minus sign if negative expression, with doc-text & 2 categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

−2

The Template:Exprsign calculates an expression in parameter 1 in the format of {{#expr: {{{1}}} }} and when negative, puts a unicode &minus sign (rather than leading hyphen) before the number.

For more details, see:  Help:expr (Help:Calculation).