模板: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
編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 本模板的子頁面。 |