Loading...
Select Version
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( ) |
STRING = string_expression |