Function: PI
Function: PI

Function: PI

Pi ( )

Returns the constant π.


No Parameters


VALUE(FLOAT) The value of pi.

What It Does

This function returns the constant pi (π) which equals roughly 3.141592653589793.

	a = pi();       // a = 3.141592653589793

Additional Technical Notes

The return value of this function relies on the TAME implementation's value for π. While the value of pi is pretty much matematically set-in-stone, this may not be the case for certain platforms or engine implementations, and can vary slightly between them.


Modal Header