pi()

Description:

Compute the circumference-to-diameter ratio or its multiple.

Syntax:

pi(numberExp)

Note:

The function computes the circumference-to-diameter ratio or its multiple. The default value of numberExp is 1.

Parameters:

numberExp

The number of times. If this parameter is not supplied, the function returns the circumference ratio.

Return value:

Circumference ratio or its multiple

Example:

pi()

3.141592653589793

pi(2)

6.283185307179586