pi

Equal to the ratio of a circle's circumference to its diameter.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

pi

# Examples

get tan((tAngleInDegrees * pi/180) + tSecondAngleInRadians)

# Description

Use the pi constant in trigonometric expressions where writing out "pi" makes the expression more readable and understandable.

The pi constant is equal to 3.14159265358979323846.

# Tags

# See

- **command:** constant - **function:** acos, sin, cos, tan, asin, atan2, atan - **glossary:** expression