Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
I have a calculator that is processed with php. The user enters numbers into an html form. The problem is when I enter a number with commas it treats the comma as a decimal. ie. 100,000 is treated as 100. Is there is a way to make the form accept commas as separators not decimals.
- New php-forum User
- Posts: 40
- Joined: Tue Jan 10, 2012 3:00 pm
Return to PHP coding => General
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests