Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 browsing the Monastery: (13)
As of 2014-10-01 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (29 votes), past polls