Example:
I have an integer value of 2565 which should be converted into hex (not hex string), result is 0x0A05.
So in code it would be like:
Code: Select all
sub procedure Conversion()
dim a as integer
dim b as byte
dim c as byte
a = 2565
IntToHex(a, text) ' correct result, but in string format
xxx = ..... ?
b = hi(xxx) ' 0x0A
c = lo(xxx) ' 0x05
end sub
Regards,