Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
jaf jaf is offline
external usenet poster
 
Posts: 300
Default 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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSV to ASCII Quco Excel Discussion (Misc queries) 5 April 4th 23 10:30 AM
ascii conversion [email protected] Excel Discussion (Misc queries) 4 September 17th 06 09:38 PM
ASCII to Numeric Conversion cincode5 Excel Discussion (Misc queries) 2 August 4th 05 07:25 PM
Ascii Syrus the Virus[_11_] Excel Programming 4 February 3rd 04 02:59 PM
ASCII value Terence Excel Programming 2 October 2nd 03 03:41 AM


All times are GMT +1. The time now is 06:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"