Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Binary Coded Decimal

by moritz (Cardinal)
on Sep 18, 2012 at 04:34 UTC ( #994177=note: print w/ replies, xml ) Need Help??


in reply to Re: Binary Coded Decimal
in thread Binary Coded Decimal

I fail to see the connection, and how the linked document is useful in this question. Can you please explain it?

Sure, EBCDIC is historically based on BCD, but I don't see how that is useful with the conversion from numbers to BCD.


Comment on Re^2: Binary Coded Decimal
Replies are listed 'Best First'.
Re^3: Binary Coded Decimal
by NetWallah (Abbot) on Sep 18, 2012 at 15:49 UTC
    I figured the explanations were useful, and the conversion code in the article could serve as a staring-point example, and be modified to deal with BCD. The OP was looking for a starting point. I did not find any direct BCD starting points, so I posted the EBCDIC one.

                 I hope life isn't a big joke, because I don't get it.
                       -SNL

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994177]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2015-07-29 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls