holocast:
Hello, please I want to know if there's a standard function that converts the rad value returned by acos() to degrees.
Many thanks in advance
I'm not sure there is, but you can use a simple user defined function to convert it should the need arise in your code.
Here is an example of what such code will look like
double RadToDegrees(double rad) //function name (passed radian value) {double degree = rad*180/M_PI; //actual conversion is done here return(degree); //value in degrees is returned }
Chidera Anakpe:
Thank you so much it works perfectly
I'm not sure there is, but you can use a simple user defined function to convert it should the need arise in your code.
Here is an example of what such code will look like
holocast:
Thank you so much it works perfectly
You're welcome
Thank you so much it works perfectly
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello, please I want to know if there's a standard function that converts the rad value returned by acos() to degrees.
Many thanks in advance