Download MetaTrader 5

MathCos

The function returns the cosine of an angle.

double  MathCos(
   double  value      // number
   );

Parameters

value

[in]  Angle in radians.

Return Value

Value of double type within the range of -1 to 1.

Note

Instead of MathCos() you can use cos().


Updated: 2015.12.03