Skip to main content

abs

number | abs
returns number

Returns the absolute value of a number.

{{ -3 | abs }}

Output

3
Was this page helpful?