Forum on trading, automated trading systems and testing trading strategies
Problems with division especially when there's 7
William Roeder, 2021.06.15 14:43
Floating-point has an infinite number of decimals, it's you, not understanding floating-point and that some numbers can't be represented exactly. (like 1/10.s)
Double-precision floating-point format - Wikipedia
See also The == operand. - MQL4 programming forum 2013.06.07
If you want to see the correct number of digits, convert it to a string with the correct/wanted accuracy.
question about decima of marketinfo() - MQL4 programming forum 2016.05.18
Floating-point has an infinite number of decimals, it's you, not understanding floating-point and that some numbers can't be represented exactly. (like 1/10.s)
Double-precision floating-point format - Wikipedia
See also The == operand. - MQL4 programming forum 2013.06.07
If you want to see the correct number of digits, convert it to a string with the correct/wanted accuracy.
question about decima of marketinfo() - MQL4 programming forum 2016.05.18
I really doubt its 1/3rd.
https://www.youtube.com/watch?v=ZolX-XyDr3c
I think we have contributed enough knowledge to the topic of concern.

- 2021.05.28
- www.mql5.com
I really doubt its 1/3rd.
https://www.youtube.com/watch?v=ZolX-XyDr3c
I think we have contributed enough knowledge to the topic of concern.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
why last line doesnt work?