note 7767 deleted from language.operators by sniper
| From: | sniper@php.net | Date: | Mon, 13 Oct 2003 00:02:44 +0000 |
| Subject: | note 7767 deleted from language.operators by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58350@lists.php.net to get a copy of this message | ||
Note Submitter: kennon@audiogalaxy.com
----
You can also use the floor() and ceil() functions to give the nearest integer values of a double.
So, for instance, to get the integer part of the quotient, you can do this:
floor( $a / $b );