User:Σ/Testing facility/Absolute value/doc

This template evaluates its numeric parameter and returns its absolute value. If the parameter is empty or missing, it returns an empty string.

Syntax:
{{User:Σ/Testing facility/Absolute value|value}}
Examples:
  • "{{User:Σ/Testing facility/Absolute value|100}}" = "100".
  • "{{User:Σ/Testing facility/Absolute value|0.1}}" = "0.1".
  • "{{User:Σ/Testing facility/Absolute value|1-1}}" = "0".
  • "{{User:Σ/Testing facility/Absolute value|-0.1}}" = "0.1".
  • "{{User:Σ/Testing facility/Absolute value|-100}}" = "100".
  • "{{User:Σ/Testing facility/Absolute value|}}" = "".