You are here: Re: Need a string algorithm. « PHP Programming Language « IT news, forums, messages
Re: Need a string algorithm.

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация