homepage Welcome to WebmasterWorld Guest from 54.196.198.213
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Need help on a reg exp. for money
blaketar




msg:3579367
 10:15 pm on Feb 19, 2008 (gmt 0)

Iím trying to ensure a user doesnít accidently add two (or more) decimal points to a price field. For instance 12,000.00 OR 12000.00 is correct. Once in a while however I find 12.000.00 (price contains two decimal points).

Any functions exist for double checking money formats before inserting into a Table:Money:Column?

 

darrenG




msg:3579461
 11:33 pm on Feb 19, 2008 (gmt 0)

[google.com...]

google is your friend!

specifically:

[uk.php.net...]

Hope that helps

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved