MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Conversion functions  StrToInteger

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
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");