Icon Pi

Unit: Internal

Available In: Client and Server Applications

function Pi: Double

The Pi function returns the mathematical constant pi, or the ratio of the circumference of a circle to its diameter. The return value is a Double value that is approximately 3.141592653589793.

Examples

X := Pi;  // X is 3.141592653589793
Image