📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

PI



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

Syntax

PI()

Examples

SELECT PI(); ┌───────────────────┐ │ pi() │ ├───────────────────┤ │ 3.141592653589793 │ └───────────────────┘

Was this page helpful?