Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Binary Coded Decimal

by NetWallah (Abbot)
on Sep 18, 2012 at 00:00 UTC ( #994155=note: print w/ replies, xml ) Need Help??


in reply to Binary Coded Decimal

perlebcdic is a great place to start on this quest.

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


Comment on Re: Binary Coded Decimal
Re^2: Binary Coded Decimal
by moritz (Cardinal) on Sep 18, 2012 at 04:34 UTC

    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.

      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://994155]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2015-07-07 00:49 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 (86 votes), past polls