STRING TO INT
Jump to navigation
Jump to search
Number of parameters: 2 | ||
---|---|---|
Parameter # | Type | Description |
1. | string | input string |
2. | pointer | pointer to variable to store result |
Return value: | ||
Type | Description | |
boolean | true if the conversion succeed |
This function converts a given string to an integer number and store the result to a variable. If the function fails (a string could not be converted to an integer number) the result is false, otherwise true. If the first parameter is NULL, the function returns false and the variable contains value of -999.