ABS

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

Returns the absolute value of a number.

Analyze Syntax

func.abs(<x>)

Analyze Examples

func.abs(-5)

┌───┐
 5  
└───┘

SQL Syntax

ABS(<x>)

SQL Examples

SELECT ABS(-5);

┌───┐
 5  
└───┘