Is return of OrderOpenPrice() still 4 digits?

 

The quote price of my broker is of 5 digits. But I found the return value of OrderOpenPrice() is still of 4 digits, such as OrderStopLoss() and OrderTakeProfit().

Did anyone find such thing? Is this a bug?

 
 
Rosh:
Use DoubleToString().

Thank you, but this gets a string type, what should I do if I need a float number with 5 digits? I tried to use StringToDouble(), but got a 4-digits number again.

 
GreatShore:

The quote price of my broker is of 5 digits. But I found the return value of OrderOpenPrice() is still of 4 digits, such as OrderStopLoss() and OrderTakeProfit().

Did anyone find such thing? Is this a bug?

My broker also uses 5 digits. When I checked return value of OrderOpenPrice() it gave me 5 digits and sometimes 3 or 4 (probably depending on the price). But why you need 5 digit result?

Reason: