Template:Exprsign

From Donjon Wiki
Revision as of 01:54, 8 April 2019 by wp>Cydebot (Robot - Speedily moving category Wikipedia character-substitution templates to Category:Character-substitution templates per CFDS.)
(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).