Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Binary Coded Decimal

by NetWallah (Canon)
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.

Replies are listed 'Best First'.
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994155]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2018-06-18 04:48 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (107 votes). Check out past polls.