Get the precious value of MACD. - page 2 12 New comment qjol 2014.03.31 05:34 #11 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 ); Any questions from newcomers DoubleToString() digits default value [ARCHIVE] Any rookie question, Simon Gniadkowski 2014.03.31 07:12 #12 qjol: 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. qjol 2014.03.31 07:49 #13 RaptorUK: So not specifying the precision for DoublToStr() must return an error 4050 . . . right (it's supposed to but...) RaptorUK: unless the Documentation is incorrect. and right Keith Watford 2014.03.31 07:53 #14 If you enter string DoubleToStr(....., the autoparameter info shows int digits=8 so it does suggest that 8 is the default. Syed Naufal Gaddafi 2014.03.31 08:10 #15 GumRai: 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. 12 New comment
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.