Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

X-LITERAL-TO-INTEGER( ) Convert string to integer

Converts a string which is up to 4 bytes long to an integer. The input string can be specified as an X string or as a C string. An empty string is assigned the value 0.
If the input string consists of less than 4 characters, it is padded from left to right with X’00’.

X-LITERAL-TO-INTEGER( ) is the inverse function to INTEGER-TO-X-LITERAL( ).

Result type: INTEGER

X-LITERAL-TO-INTEGER( )
X-LIT-TO-INT( )

STRING = string_expression