StrToInt

Top  Previous  Next

Prototype

 

IntOutput:= StrToInt(strInput)

 

Description

 

Transforms the string passed as the parameter into an integer.

 

Parameters

 

StrInput: string to be transformed into number.

 

Returned value

 

IntOutput: number obtained by conversion.

 

Notes

 

None.

 

Example

 

// Initialize a value

StringValue:='10';

 

// Convert the string value to numeric

NumeriValue:=StrToInt(StringValue);