pi() Function

Returns the value of pi. Takes no parameters.

Syntax

pi()

Returns

Decimal

Examples

You can experiment with this function in the test box below.

Test Input

pi() returns 3.141593

FEEDBACK