Yes it is more than.
void OnStart() { //--- Alert(1.14644 > 1.14644); }
Above is my code in a script. It returns false.
What is your code to test that it shows TRUE?
Jia Soo:
Hi there,
I encounter this dilemma on doing a "more than" comparison. FYI I'm having a 5 digit broker.
I would assume 1.14644 > 1.14644 would fail, as there are the same values. However, the result shows TRUE instead.
Can anyone clarify that ">" is actually more than?
probably you are not counting on further decimals hidden. Use NormalizeDouble
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
Hi there,
I encounter this dilemma on doing a "more than" comparison. FYI I'm having a 5 digit broker.
I would assume 1.14644 > 1.14644 would fail, as there are the same values. However, the result shows TRUE instead.
Can anyone clarify that ">" is actually more than?