MQL4 Reference Conversion Functions StringToInteger

MQL4 Help as One File:

StringToInteger

The function converts string containing a symbol representation of number into number of int (integer) type.

long  StringToInteger(
   string  value      // string
   );

Parameters

value

[in]  String containing a number.

Return Value

Value of long type.