The PI() constant function returns the floating point double-precision number that is closest to the mathematical constant π (pi), which represents the ratio of a circle's circumference to its diameter.
Pi() is approximately 3.141592653589793 and is fundamental to trigonometric calculations, circular geometry, and periodic functions. This constant is essential for converting between degrees and radians, calculating areas and circumferences of circles, and modeling cyclical patterns.
Syntax
PI()
Arguments
The PI() function takes no arguments.
Calculation engine functionality differences
This function is only available in the Polaris Calculation Engine.
Syntax example
PI() / 2
Excel equivalent
Examples
| Formula | Result |
PI() | 3.142 |
2 * PI() | 6.283 |
PI() / 2 | 1.571 |
PI() / 180 | 0.01745 |
SIN(PI() / 6) | 0.5 |