StrToInt
Convert string to integer number
int StrToInt(string& strVal);
Parameters
- strVal - string containing an integer number
Return Value
- Returns the integer value of the string
Remarks
If the string does not contain a number the result will be zero.
Example
string strVal = "123"; int nVal = StrToInt(strVal);
See Also
Last modified
7 years ago
Last modified on 04/12/18 13:09:13
Note:
See TracWiki
for help on using the wiki.