The &DEC built-in function returns the decimal equivalent of a hexadecimal value.
&DEC hexadecimal value
&DEC must be used to the right of an assignment statement.
Examples: &DEC
&NUM = &DEC FFFF -* &NUM is set to 65535
&NAMELEN = &DEC &HEXLEN -* &NAMELEN is set to a decimal
-* length
-* for example, if &HEXLEN is 10
-* then &NAMELEN is set to 16
Notes:
| Copyright © 2009 CA. All rights reserved. |
|