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...

In Section
Seekers of Perl Wisdom

Comment onRe^5: Alpha base-26 to base-10...DownloadCode