There's more than one way to do things | |
PerlMonks |
Re^5: Alpha base-26 to base-10...by wolfger (Deacon) |
on Mar 31, 2008 at 13:38 UTC ( [id://677518]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|