Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-01-22 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (233 votes). Check out past polls.

    Notices?