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:
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?
See also The ==
operand. - MQL4 programming forum
Print out your values to the precision you want with DoubleToString -
Conversion Functions - MQL4 Reference.