math.pi

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

Overview

Returns the constant pi.

Syntax

math.pi

Example

print( math.pi )   --->  3.1415926535898