Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2016-06-29 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (378 votes). Check out past polls.