PI

Learn how to use the PI numeric function in PlaidCloud Lakehouse. Returns the value of π as a floating-point value. Includes syntax and examples.

Returns the value of π as a floating-point value.

Analyze Syntax

func.pi()

Analyze Examples

func.pi()

┌───────────────────┐
     func.pi()     
├───────────────────┤
 3.141592653589793 
└───────────────────┘

SQL Syntax

PI()

SQL Examples

SELECT PI();

┌───────────────────┐
        pi()       
├───────────────────┤
 3.141592653589793 
└───────────────────┘