> lang > hex | ![]() |
| Documentation |
|
String = Hex$ ( Number AS Long [ , Digits AS Integer ] )
Gets the hexadecimal representation of a number.
If Digits is specified, the representation is padded with unnecessary zeros so that Digits digits are returned.
The sign of a Short or Integer will be extended, because the Number will be extended to Long . If the hexadecimal representation should be limited to 16 bits the AND operator must be used.