Returns the hexadecimal equivalent of a decimal number.
&HEX decimalnumber
&HEX provides a means of converting a decimal number to its hexadecimal equivalent. &HEX is a built-in function and must be used to the right of an assignment statement.
Operands:
Examples: &HEX
&NUM = &HEX 66635 -* &NUM is set to FFFF &A = &HEX &1 &NUM = &HEX 00123 -* &NUM is set to 7B &NUM = &HEX -2088976 -* &NUM is set to FFE01FF0
Notes:
| Copyright © 2009 CA. All rights reserved. |
|