Math::Cos
- Math::Cos(x): float
-
Calculates cosine from given angle in radians.
x |
number |
Angle in radians |
Return
Result of cosine for this angle
print(Math::Cos(0.5)); // Will print "0.877583"
Calculates cosine from given angle in radians.
x |
number |
Angle in radians |
Result of cosine for this angle
print(Math::Cos(0.5)); // Will print "0.877583"