Reply to Need a string algorithm.

Your name:

Reply:


Posted by CoreyWhite on 04/04/07 20:59

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

[Back to original 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

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