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

Re^5: Alpha base-26 to base-10...

by wolfger (Deacon)
on Mar 31, 2008 at 13:38 UTC ( #677518=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Alpha base-26 to base-10...
in thread Alpha base-26 to base-10...

We're all going to hell for resurrecting a dead thread, but how do you do double digits without a zero? Still, I think you've got the right idea. The alphabet is best used as a base-26 system, with A as zero. So AA would be the same as A. Z is 25, BA is 26, and so forth.

Now I'm curious to see how the Mayans did math...


Comment on Re^5: Alpha base-26 to base-10...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2015-07-03 10:50 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 (51 votes), past polls