MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Conversion functions  StrToInteger

 
int StrToInteger( string value)
Converts string containing the value character representation into a value of the int (integer) type.
Parameters:
value   -   String containing the integer character representation format.
Sample:
  int var1=StrToInteger("1024");