Money to double format?
| From: | Julio Cuz, Jr. | Date: | Thu, 15 Mar 2001 17:13:59 +0000 |
| Subject: | Money to double format? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7519@lists.php.net to get a copy of this message | ||
Hi--
I have about 10 fields (in PGSQL) that have the MONEY format, when I edit a form they display as "$0.00" (for example), but when I do some math using those fields, PHP treats them as "$0.00" and NOT as 0.0, I've tried to use SETTYPE ($field, double), but all numbers get reset to 1. Any ideas?