The following built-in Rexx Conversion Functions convert one type of data representation to another type of data representation.
| Function | Description |
|---|---|
| B2X | Returns a string, in character format, that represents the input binary string converted to hexadecimal. (Binary to hexadecimal) |
| C2D | Returns the decimal value of the binary representation of the input string. (Character to Decimal) |
| C2X | Returns a string, in character format, that represents the input string converted to hexadecimal. (Character to Hexadecimal) |
| D2C | Returns a string, in character format, that represents the input decimal number converted to binary. (Decimal to Character) |
| D2X | Returns a string, in character format, that represents the input decimal number converted to hexadecimal. (Decimal to Hexadecimal) |
| X2B | Returns a string, in character format, that represents the input hexadecimal string converted to binary. (Hexadecimal to binary) |
| X2C | Returns a string, in character format, that represents the input hexadecimal string converted to character. (Hexadecimal to Character) |
| X2D | Returns the decimal representation of the input hexadecimal string. (Hexadecimal to Decimal) |
Be the first to comment