Difference between revisions of "STRING TO INT"
Jump to navigation
Jump to search
(New page: {{Native |np=2 |p1t=string |p1d=input string |p2t=pointer |p2d=pointer to variable to store result |r=1 |rt=boolean |rd=true if the conversion succeed }} This function converts a given str...) |
(No difference)
|
Latest revision as of 17:50, 11 January 2009
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.