pi()

Description:

Compute the circumference-to-diameter ratio.

Syntax:

pi(k)

Note:

The function computes the circumference-to-diameter ratio π, or k*π when parameter k is present.

Parameter:

k

A number representing the multiple of π, whose value is 1 by default.

Return value:

Numeric

Example:

pi()

3.141592653589793

pi(2)

6.283185307179586