Download MetaTrader 5
To add comments, please log in or register
Documentation is available in CHM and PDF. Download it in any convenient form!
Loong
1244
Loong 2010.02.22 13:47 

MQL5 document said the default value is 8, but seem actually set 0 as default.

DoubleToString

Converting numeric value into text string.

string  DoubleToString(
   double  value,      // number
   int     digits=8    // number of digits after decimal point
   );

You can test the Script PositionInfoSample.
Ilyas
1185
Ilyas 2010.02.22 15:21  

Thank you for message. Fixed.

/
To add comments, please log in or register