You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
but if you read the documentation carefully you can see a small difference
string DoubleToString(
double value, // number
int digits=8 // number of digits after decimal point
);
string DoubleToStr(
int value, // value
int digits // precision
);
bottom line it's the same
but if you read the documentation carefully you can see a small difference
string DoubleToString(
double value, // number
int digits=8 // number of digits after decimal point
);
string DoubleToStr(
int value, // value
int digits // precision
);
So not specifying the precision for DoublToStr() must return an error 4050 . . .
unless the Documentation is incorrect.
and right
If you enter string DoubleToStr(.....,
the autoparameter info shows int digits=8
so it does suggest that 8 is the default.
If you enter string DoubleToStr(.....,
the autoparameter info shows int digits=8
so it does suggest that 8 is the default.
In case no parameters set, yes, 8 is the default.