Template:Abs

维基百科,自由的百科全书
跳到导航 跳到搜索

|{{{1}}}|

文档图示 模板文档

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