• Join us

Odd comparing two doubles

To add comments, please log in or register
bar4ka
45
bar4ka  
I have a function that tries to filter orders that is already placed in a given price.

That's the code:

http://rafb.net/paste/results/LkIdWE39.html

and That's the log using the Tester:

http://rafb.net/paste/results/kmOPLb73.html

I can't figure out why in log line 93 its returning the comparision of line 20 in the code as false

Please help me
RickD
1228
RickD  
You should normalize double values bofore comparison.

---
www.e2e-fx.net
EA development service
To add comments, please log in or register