Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 romping around the Monastery: (14)
As of 2014-09-02 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (22 votes), past polls