NormalizeDouble Bug?

 

I'm trying some calculation

double  NewVol,

Min_Volume = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_MIN); 


NewVol  = MathRound(Balance / (RR * AdjPoints));
NewVol  = NormalizeDouble(NewVol * Min_Volume, 2);


 The first line NewVol should get a whole number like 7.0 and its getting correct value

But second line results gives me 0.07000000000000001

any idea???
 

Not a bug, just the way things work. See here for more info: https://www.mql5.com/en/forum/162193#comment_3881993 

Normalize double error
Normalize double error
  • www.mql5.com
Why this is happening? http://screencast.com/t/IVUWE3n2 I use the next codeline but some values are correct and others not, why it could be...
Reason: