MQL4参考 函数转换 StrToDouble

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()