Re: [PHP-WIN] Convert Nominal Number into string spelling in PHP

2004-10-06 Thread graeme
I don't know of a function that does what you want, although I'm sure that such a function has been written many times. If you want to write it yourself then you will need to grab each individual digit that can be done in a simple loop using the modulus and divide operators The following snipp

[PHP-WIN] Convert Nominal Number into string spelling in PHP

2004-10-06 Thread susilo
Does everyone know how to convert Nominal Number into string spelling in PHP ?. Like this : Nominal Number : 567.123.560 And the spelling string/word have to be like this : "Five Hundred Sixty Seven Million One Hundred Twenty Three Thousand Five Hundred and Sixty" Please help me..