Template:Abs/doc

This template evaluates its numeric parameter and returns its absolute value. If the parameter is empty or missing, it returns an empty string. The parameter may also be a numeric expression that will be evaluated before testing its sign.


 * Syntax :
 *  


 * Examples with a simple number :
 *   =.
 *   =.
 *   =.
 *   =.
 *   =.


 * Examples where the parameter is evaluated :
 *   =.
 *   =.
 *  </tt> =.
 *  </tt> =.
 *  </tt> =.
 *  </tt> =.
 *  </tt> =.


 * Examples with an empty (or missing) parameter :
 *  </tt> =.
 *  </tt> =.

ar:قالب:مطلق it:Template:Abs vi:Tiêu bản:Abs zh-classical:Template:Math.abs