CCS Standardfunction   StrToInt [INT/ Hex/ Oct/ Bin]
 

StrToInt [INT/ Hex/ Oct/ Bin]

String [Str]

Format [Str]

Description of Function

Converts a string into an integer value.

Testing Points

None

Parameters

String

String (or variable containing a string) to be converted into an integer value.

Format

Specifies the format in which the integer specified by String is to be returned. The values permitted are Hex, Oct, Bin and INT.

Example

Result [INT]

StrToInt

101,Hex

257

StrToInt

101,Bin

5

StrToInt

A,Hex

10