pi()

Scalar. Returns a numerical approximation of the constant pi.

Syntax

pi()

Usage

Returns a numerical approximation of the constant pi. The function does not take any arguments, and the function returns a float.

Example

pi() returns 3.141593.