note 29224 deleted from function.number-format by sniper
| From: | sniper@php.net | Date: | Tue, 30 Sep 2003 01:40:06 +0000 |
| Subject: | note 29224 deleted from function.number-format by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57365@lists.php.net to get a copy of this message | ||
Note Submitter: carboy@redlineautosport.com
----
Hey 'martinom at walshsimmons dot co dot uk',
I had the same problem of not being able to use the thousands comma removal method that is listed
above and I am using PHP4. I don't know why this is the case, but I can't use numerical
comparison on my variable either. My best guess is that the number is stored as a string instead of
a float within the PHP. I just used substr() to get around the problem. I'm not a PHP expert,
so if this is wrong, please let me know. It works for me though.