Make a Integer From String

Converts a string containing an integer value to a string data type.

 

Input Arguments

 

0

String

String Input

The source string containing an integer value.

 

Return Arguments

 

1

Integer

Resultant Integer

The resulting integer.

 

Returned Status

 

SUCCESS

The string was converted successfully to an integer.

FAILURE

The source string did not contain a numeric value.

 

Remarks

If the source string contains a non-integer numeric value (such as 3.5), only the integer portion will be retained. The numeric value will not be rounded.