Template:Exprsign

From MattWiki
Jump to: navigation, 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).