Welcome to WebmasterWorld Guest from 54.145.208.64

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Script to convert figure into letters

   
11:28 am on Jun 9, 2012 (gmt 0)

5+ Year Member



Hi,
Does someone has a PHP program that can help me to convert a bill's amount into letters to show a client the amount he's paying in full letters?

Thank you for your help
3:53 pm on Jun 9, 2012 (gmt 0)

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



full letters?


Huh what?

Are are saying formatted money like "$10.00" or what?

If so, try the function money_format().
3:59 pm on Jun 9, 2012 (gmt 0)

10+ Year Member



I think dbarasuk means;

1000 --> "Thousand", etc.

A quick search on this reveals quite a few simple ready made functions for this.
4:11 pm on Jun 9, 2012 (gmt 0)

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Ah, money as words, gotcha.

Simple class for that over here: [bloople.net...]