Cicode Programming Reference > Cicode Function Categories > Math and Trigonometry Functions Introduction > Pi

Pi

Gets the value of pi (the ratio of the circumference of a circle to its diameter).

Syntax

Pi()

Return Value

The value of pi.

Example

Variable=Pi();
! Sets Variable to 3.1415...

See Also

Math/Trigonometry Functions