note 46880 deleted from function.floor by bjori
| From: | bjori@php.net | Date: | Sat, 27 May 2006 20:29:47 +0000 |
| Subject: | note 46880 deleted from function.floor by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-112384@lists.php.net to get a copy of this message | ||
Note Submitter: steven_p_yang at yahoo dot com
----
Regarding jolyon's problem, a quick fix is this:
$price = "$price";
By doing this, you change $price to the string "7999". Now when you call floor, you get
the expected result.