math.pi

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

Overview

Returns the constant pi.

Syntax

math.pi

Example

print( math.pi )   --->  3.1415926535898