Skip to content

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

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