Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Alpha base-26 to base-10...

by Boots111 (Hermit)
on Jul 01, 2003 at 05:45 UTC ( #270413=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Convert base26 column string to number
    # All your Base are belong to us.
    ...
        $col += (ord($char) -ord('A') +1) * $expn;
        $expn *= 26;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://270413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2016-02-12 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (414 votes), past polls