User:Σ/Testing facility/Absolute value/doc
This is a documentation subpage for User:Σ/Testing facility/Absolute value. It may contain usage information, categories and other content that is not part of the original user template page. |
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|}}" = "".