pi

Typeconstant
DictionaryLCS
LibraryLiveCode Script
Syntax
pi
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
get tan((tAngleInDegrees * pi/180) + tSecondAngleInRadians)
RelatedCommand: constant
Function: acos, sin, cos, tan, asin, atan2, atan
Glossary: expression
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.

Tagsmath