Byte Conversion

I have two values, and cannot place what conversion is being done ...

I start with a 3-byte message

00 35 6D

and the result after conversion is

13677

Can anyone tell what conversion is being done here?

[238 byte] By [J.Clark] at [2007-12-27]
# 1

It appears that it is converting your 3 bytes to a decimal value. If you open up calc.exe and put in your 00356D as hex and convert it to decimal you will get 13677.

What are you trying to convert this to and how are you converting it currently?

jjardine at 2007-9-3 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2
00 (Hex) = 0 (Dec)
35 (Hex) = 53 (Dec)
6D (Hex) = 109 (Dec)
00 + 35 + 6D = (109) + (53 * 256) + (0 * 256 * 256) = 109 + 13568 + 0 = 13677
MoayadMardini at 2007-9-3 > top of Msdn Tech,Visual Basic,Visual Basic General...