pi function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns pi.

Syntax

pi()

Arguments

The function takes no argument.

Returns

A DOUBLE.

Examples

> SELECT pi();
 3.141592653589793