pi top-level constant
double
const pi
Returns the mathematical constant Pi.
Example:
print(pi); // Output: 3.141592653589793
Implementation
const double pi = math.pi;
Returns the mathematical constant Pi.
Example:
print(pi); // Output: 3.141592653589793
const double pi = math.pi;