math.pi

类型 数字
math.*
修订版 发布版本 2024.3703
关键字 弧度,pi

概述

返回常数 pi

语法

math.pi

范例

print( math.pi )   --->  3.1415926535898