WorksheetFunction.Pi method (Excel)

Returns the number 3.14159265358979, the mathematical constant pi, accurate to 15 digits.

Syntax

expression.Pi

expression A variable that represents a WorksheetFunction object.

Return value

Double

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.