Use this function to return the hexadecimal equivalent of an integer value.
Here is an example:
y = 1000
z = Dec2Hex(y)
Result is z = 3E8
y = 254220
z = Dec2Hex(y,8)
Result is z = 0003E10C
y = -2
z = Dec2Hex(y)
Result is z = FFFFFFFE
© Copyright 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices