Lipi Reference Lipi

Functions

math.toradians()

Converts an angle in degrees to the same angle in radians. The trigonometric functions take radians, so this is the conversion to reach for before calling them.

Syntax · 1 of 4

                math.toradians(const float degrees) → const float
              

Arguments

degrees required const float The angle, in degrees.

Return Type

const float

Syntax · 2 of 4

                math.toradians(input float degrees) → input float
              

Arguments

degrees required input float The angle, in degrees.

Return Type

input float

Syntax · 3 of 4

                math.toradians(simple float degrees) → simple float
              

Arguments

degrees required simple float The angle, in degrees.

Return Type

simple float

Syntax · 4 of 4

                math.toradians(series float degrees) → series float
              

Arguments

degrees required series float The angle, in degrees.

Return Type

series float