homepage Welcome to WebmasterWorld Guest from 54.226.0.225
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Script to convert figure into letters
dbarasuk




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

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

 

incrediBILL




msg:4463366
 3:53 pm on Jun 9, 2012 (gmt 0)

full letters?


Huh what?

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

If so, try the function money_format().

jinxed




msg:4463368
 3:59 pm on Jun 9, 2012 (gmt 0)

I think dbarasuk means;

1000 --> "Thousand", etc.

A quick search on this reveals quite a few simple ready made functions for this.

incrediBILL




msg:4463372
 4:11 pm on Jun 9, 2012 (gmt 0)

Ah, money as words, gotcha.

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved