Skip to content
AlertaChartAlertaScript / docs
AlertaScript / math

Reference

math

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

Name / SignatureDescriptionReturns
alerta.math.rphimath.rphiThe reciprocal of the golden ratio φ, approximately 0.618. Equivalent to 1/φ or (√5 − 1) / 2.float
alerta.math.pimath.pi → const floatMathematical constant available without calling a function. Use math.pi as a value, without parentheses.const float
alerta.math.emath.e → const floatMathematical constant available without calling a function. Use math.e as a value, without parentheses.const float
alerta.math.phimath.phi → const floatMathematical constant available without calling a function. Use math.phi as a value, without parentheses.const float
AlertaScript

No results found.

Search by name, alias, or keyword.