Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
We don't bite newbies here... much
 
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 drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-04-21 14:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls