PI()
All functions > MATH > PI()
Returns the mathematical constant π (pi).
Signatures
Pi
Returns: The value of π ≈ 3.141592653589793
PI() → DOUBLE sql
| Parameter | Type | Required | Description |
|---|
Signature notes:
- π is the ratio of a circle's circumference to its diameter
COS(PI()) = -1andSIN(PI()) ≈ 0
Examples
FeatureQL
SELECT
f1 := PI() -- Pi
;Result
| f1 VARCHAR |
|---|
| 3.141592653589793 |
On this page