Calculation with 5digits

 

Hi,

I am at a 5digits broker. When I Print(High[1]-Low[1]) the result has everytime only 4 digits! Why?

I also tried this way Print((High[1]*100-Low[1]*100)/100);

An even if I Print(Bid) the value has 4 digits!

 

Did you read the Documentation on Print ? link --> Print() I guess not otherwise you would have seen this . . . " Data of double type are printed with 4 decimal digits after point. "

Use DoubleToStr( double value, Digits)

Reason: