Lipi Reference Lipi

Functions

math.cos()

The cos function returns the trigonometric cosine of an angle.

Syntax · 1 of 4

                math.cos(const float angle) → const float
              

Arguments

angle required const float Angle, in radians.

Return Type

const float

Syntax · 2 of 4

                math.cos(input float angle) → input float
              

Arguments

angle required input float Angle, in radians.

Return Type

input float

Syntax · 3 of 4

                math.cos(simple float angle) → simple float
              

Arguments

angle required simple float Angle, in radians.

Return Type

simple float

Syntax · 4 of 4

                math.cos(series float angle) → series float
              

Arguments

angle required series float Angle, in radians.

Return Type

series float