Double object is not initializing as expected
Hi, I have initialized the double object as:
But when I see it on debugger watch, I get this
what could be the possible reason for getting this small fraction?
Please, study this:
https://www.mql5.com/en/docs/basis/types/double
- www.mql5.com
Please, study this:
https://www.mql5.com/en/docs/basis/types/double
Thank you for your reply, I understand what is the problem and solution. but now my question is: this is not a case in MQL4, why it is working perfectly in MQL4?
Double-precision floating-point format - Wikipedia, the free encyclopedia
See also The == operand. - MQL4 programming forum
Print out your values to the precision you want with DoubleToString - Conversion Functions - MQL4 Reference.
Hi, I have initialized the double object as:
But when I see it on debugger watch, I get this
what could be the possible reason for getting this small fraction?