Difference between revisions of "Template:Abs"
Jump to navigation
Jump to search
NickPercival (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 15:44, 20 July 2017
Template documentation
This template may be used to enclose text between two pipes, typically denoting the absolute value.
Usage
When {{math|{{abs|''x''}} < 7}}, the function is positive.
When | x | < 7, the function is positive.
The notation {{math|{{abs}}}} means '''absolute value'''.
The notation | · | means absolute value.
Alternatives
This template is equivalent to enclosing the text between two {{pipe}} templates (and a hair space   around the argument; a hair space being a 1.5 mu space, i.e. a 1/12 em space)
When {{math|{{pipe}} <!-- hair space -->''x'' {{pipe}} < 7}}, the function is positive.
When Template:Pipe x Template:Pipe < 7, the function is positive.
See also
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |