PI()

All functions > MATH > PI()

Returns the mathematical constant π (pi).

Signatures

Pi

Returns: The value of π ≈ 3.141592653589793

PI() → DOUBLE
sql
ParameterTypeRequiredDescription

Signature notes:

  • π is the ratio of a circle's circumference to its diameter
  • COS(PI()) = -1 and SIN(PI()) ≈ 0

Examples

FeatureQL
SELECT
    f1 := PI() -- Pi
;
Result
f1 VARCHAR
3.141592653589793

Last update at: 2026/05/26 17:22:09