Date: 10/31/02
- Previous message: Manuel Lemos: "[PHP] Re: How to prevent failure email from being sent?"
- In reply to: ed <email protected>: "RE: [PHP] number_format question"
- Next in thread: Martin Towell: "RE: [PHP] number_format question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Tried it. It works but crops everything after the first "," in the
number
> if you enter a number with commas. Works great if you don't enter any
> commas.
How many integers can you name that have commas in them??? In other
words, you have a string, so PHP converts it to an integer to pass to
number format. Thus you only get the integer part up to the first comma.
---John Holmes...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Previous message: Manuel Lemos: "[PHP] Re: How to prevent failure email from being sent?"
- In reply to: ed <email protected>: "RE: [PHP] number_format question"
- Next in thread: Martin Towell: "RE: [PHP] number_format question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

