|
Posted by oldami on 04/05/07 02:03
On 4 Apr 2007 13:59:30 -0700, "CoreyWhite" <CoreyWhite@gmail.com>
wrote:
>I need to assign all characters the values 1-26, and add them up in
>the string, each time multiplying the next characters value by
>10^string placement. It should look something like this:
>
>Lets try an example:
>
>C 3
>O 150
>R 1,800
>E 5,000
>Y 250,000
>----------------
> 256,953
>
>The end result of the word Corey is the number 256,953.
>
>Can anyone get this working in php? It is some new code I want to run
>on my website http://www.ckoogle.com
sounds like someone trolling for homework
really lame
[Back to original message]
|