cutting off zeros >> 10.00 to 10
| From: | Thomas Murphy | Date: | Wed, 06 Feb 2002 13:12:46 +0000 |
| Subject: | cutting off zeros >> 10.00 to 10 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16552@lists.php.net to get a copy of this message | ||
Hallo,
i was wondering if there is a built-in function in php that just cuts
off not needed zeros from float-numbers (like changing "1.90" to "1.9"
or "10.00" to "10").
I get this numbers from a mysql-database, perhaps there even is a
mysql-function for this???
thank you very much,
Thomas Murphy