模板:Mabs

維基百科,自由的百科全書

|{{{1}}}|

文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]


The mabs template wraps its argument in two pipe marks. These are used to delimit an absolute value or modulus function in mathematics.

The template if designed for use in the {{math}} template and avoids having to use two {{!}} marks and makes the meaning more clear.

Usage[編輯]

Use this to wrap an expression. For example:

We know that {{math|1={{mabs|''a''}} ≥ 0}}.

produces:

We know that |a| ≥ 0.

See also[編輯]

  • {{math}} which formats its argument as mathematics
  • {{!}} which generates a single | character