math.pi

Type Number
Library math.*
Revision Release 2022.3683
Keywords radian, pi

Overview

Returns the constant pi.

Syntax

math.pi

Example

print( math.pi )   --->  3.1415926535898