SJA (TechnicalUser) Apr 15, 2002
BCD is simply hexadecimal where the individual characters
are limited to between 0 and 9 rather than 0 to F.
So to convert from a decimal BCD number, convert it to
Hex and then back to decimal
*********************************************************
SJA...
williamu (Programmer) Apr 13, 2002
Can you elaborate a bit more? and Is the BCD packed?
Thanks for your quick response.
Is the BCD packed? Bear with me I'm a novice. Can I give you an example. 10032 (BCD) results in 1273 (Decimal).Does that answer your question?
I am reading this from an...
I need to convert a BCD number to a decimal number.
I have been able to convert it by sub devision but this is a lenghty process and not very efficient.
Is there a simple conversion factor? I have tried to work one out but without success.
Regards
Lou B.
I am trying to make up a Frequency Display by using a Textbox.
Example: Freq 117.95
The individual digits are generated in my case from
1 Count1
1 count2
7 count3
9 count5
5 count6
I have tried various methods but only get individual digit or the sum of all.
What I need is the code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.