模板:Abs
|{{{1}}}|
![文档图示](http://images.weserv.nl/?url=//upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
This template may be used to enclose text between two pipes, typically denoting the absolute value.
Usage
When {{nowrap|1={{abs|x}} < 7}}, the function is positive.
When |x| < 7, the function is positive.
Alternatives
This template is equivalent to enclosing the text between two {{pipe}}
templates
When {{nowrap|1={{pipe}}x{{pipe}} < 7}}, the function is positive.
When |x| < 7, the function is positive.
See also
编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 本模板的子页面。 |