No Parameters
VALUE(FLOAT) | The value of pi. |
This function returns the constant pi (π) which equals roughly 3.141592653589793.
a = pi(); // a = 3.141592653589793
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.