MQL4 Reference Conversion Functions StrToDouble

MQL4 Help as One File:

StrToDouble

Converts string representation of number to double type (double-precision format with floating point).

double  StrToDouble(
   string  value      // value
   );

Parameters

value

[in]  String containing the number character representation format.

Returned value

Value of double type.

Example:

  double var=StrToDouble("103.2812");

See also

PrintFormat(), DoubleToStr(), DoubleToString()