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
    -- Pi
    f1 := PI()
;
Result
f1 DECIMAL
3.141592653589793