Skip to main content

PI

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

Syntax​

PI()

Examples​

SELECT PI();

┌───────────────────┐
│ pi() │
├───────────────────┤
│ 3.141592653589793 │
└───────────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today