Return the value of Pi
- Last UpdatedJul 23, 2024
- 1 minute read
In a script, you can use the Pi() function to use the constant Pi in mathematical calculations. The Pi() function is exact to 7 digits after the decimal point.
Syntax
result = Pi ()
Example(s)
Pi() returns 3.1415927.