Skip to content

Returns the negation of a number.

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