![]() |
|
more useful options | |
PerlMonks |
Re: Alpha base-26 to base-10...by wolfger (Deacon) |
on Jul 01, 2003 at 00:29 UTC ( #270370=note: print w/replies, xml ) | Need Help?? |
Wow. I can't believe that nobody else has pointed out the fact that you are *not* using a base 26 system correctly. a=0 z=25 In base 26, there will be no single-character representation of the number 26. Just as there is no single-character representation of 10 in base 10, or 2 in binary. If you want "blank" = 0, a=1, z=26, then you are using base 27.
In Section
Seekers of Perl Wisdom
|
|