pi()
Learn how to use the pi() function to return the constant value of Pi.
Returns the constant value of Pi.
Syntax
pi()
Returns
The double value of Pi (3.1415926…)
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.