Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

CHARACTER-TO-INTEGER( ) Convert character to integer

The CHARACTER-TO-INTEGER( ) function converts one character to a decimal number based on the characters EBCDIC code.

If the input string consists of several characters, then only the first character is converted.

All characters in a string can be converted in combination with the corresponding string function (e.g. SUBSTRING).

Result type: INTEGER (<integer 0..255>)

CHARACTER-TO-INTEGER( )
CHAR-TO-INT( )

STRING = string_expression