math.pi

The value of pi

Prototype

pi = math.pi

Description

A variable representing the value of pi (not a function).

print (math.pi) --> 3.1415926535898 

Lua functions

Topics