note 7767 added to Operators
| From: | kennon at audiogalaxy dot com | Date: | Mon, 14 Aug 2000 22:41:20 +0000 |
| Subject: | note 7767 added to Operators | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1843@lists.php.net to get a copy of this message | ||
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 );
http://www.php.net/manual/language.operators.php