NEGATIVE

Learn how to use the NEGATIVE math function in PlaidCloud Lakehouse. Returns the negation of a number - see syntax, examples, and output.

Returns the negation of a number.

Analyze Syntax

func.negative(<x>)

Analyze Examples

func.negative(5)

┌────┐
 -5  
└────┘

SQL Syntax

NEGATIVE(<x>)

SQL Examples

SELECT NEGATIVE(5);

┌────┐
 -5  
└────┘