Returns a string representation of an integer or of a binary type converted to hexadecimal.
Hex ( expression [, length] )
| expression | The expression to convert. |
| length | [optional] Number of characters to be returned for integer. Characters are truncated from the left-hand side if length is too small. This parameter is ignored if the data is binary data. |
| Success: | Returns a string of length (never more than 16) characters, zero-padded if necessary for integer. |
| Returns the binary type converted. | |
| Special: | Returns "" (blank string) if length is less than 1. |
Local $result = Hex(1033, 4) ;returns "0409"