Skip to content

Returns the absolute value of a number.

func.abs(<x>)
func.abs(-5)
┌───┐
│ 5 │
└───┘
ABS(<x>)
SELECT ABS(-5);
┌───┐
│ 5 │
└───┘