Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 scrutinizing the Monastery: (13)
As of 2014-09-18 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (109 votes), past polls