Bug in NormalizeDouble()

 
   NormalizeDouble(1.49999990, 0) = 1.00000000
   NormalizeDouble(1.49999991, 0) = 2.00000000

thank you, MetaQuotes.

btw: this bug is far from new, they know it and they just don't care

 
Rofl.
 
paulepanke:

thank you, MetaQuotes.

btw: this bug is far from new, they know it and they just don't care

It is wrong by 1/100th of a Point.

They don't care ---

and I'm pretty much in the same category :-)

 

i dare to correct you. it's wrong by 100%. and in this case not only of a point but of the most significant digit.

but don't care ... :-)

 
As I have previously said, NormallizeDouble is a kludge, don't use it, ever.
Reason: