$pi

Return the value of pi.

$pi()

Return Values

Value of pi.

Use

Allowed in all component types.

Description

$pi returns the mathematical value of pi (3.14159...).

Using $pi

The following shows an example of the $pi function:

vCircumference = $pi() * vDiameter