Overview
Grammar | PI(number) | Returns the mathematical constant pi. |
Parameter | number | When the number is empty, the function returns the value of pi (3.14); otherwise, the number represents an integer multiple of pi. |
Notes
The function supports one numerical parameter, which can be defaulted.
Example
Formula | Result | Notes |
SIN(PI()/2) | 1 | The formula for the area of a circle: S=PI()*(r^2), in which S represents the area and R, the radius. |
PI(3) | 9.42 |