Functions
math.cos()
The cosine of `angle`, where the angle is in radians.
Syntax · 1 of 4
math.cos(const float angle) → const float
Arguments
angle required const float The angle, in radians. Use math.toradians to convert from degrees. Return Type
const float Syntax · 2 of 4
math.cos(input float angle) → input float
Arguments
angle required input float The angle, in radians. Use math.toradians to convert from degrees. Return Type
input float Syntax · 3 of 4
math.cos(simple float angle) → simple float
Arguments
angle required simple float The angle, in radians. Use math.toradians to convert from degrees. Return Type
simple float Syntax · 4 of 4
math.cos(series float angle) → series float
Arguments
angle required series float The angle, in radians. Use math.toradians to convert from degrees. Return Type
series float