ASCII Conversion
Hi Keith,
If your data is being transmitted as ASCII (aka: ascii text) then you would
receive 6 characters.
49 50 53 57 50 10 or 13. 10 is the linefeed char. 13 is the carrage return
char.
If the data is being transmitted in binary then you would receive the
hexadecimal equilivents.
31 32 35 39 10 A or D
Or a hex value of 3130. It depends on the bits per byte. 8 bit, 16 bit 32
bit....
In any case you are receiving a string or series of byte values. It's either
an ASCII byte or HEX byte.
No idea why or how your seeing 10.
There are worksheet functions hextodec(), dectohex(), dectobin() if your
running the analysis toolpak add-in.
Get specific. What programs and what protocols are you using?
Lan? Internet?
Using code? Post it.
--
John
johnf 202 at hotmail dot com
"Keith" wrote in message
...
| Anyone know an easy way to convert a Decimal Number to
| ascii. As an example 12592 decimal = 10 ascii. Please
| reply asap.
|