Bug #1325 Updated: longval() and a (long) cast would be handy

From: Date: Fri, 14 Apr 2000 13:36:46 +0000
Subject: Bug #1325 Updated: longval() and a (long) cast would be handy
Groups: php.dev 
Request: Send a blank email to php-dev+get-17911@lists.php.net to get a copy of this message
ID: 1325 Updated by: rasmus Reported By: maarnold@gte.net Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: They do return longs. For example, floor() does this: if (value->type == IS_DOUBLE) { RETURN_LONG((long)floor(value->value.dval)); } You probably want to have a look at the bcmath functions instead. Full Bug description available at: http://bugs.php.net/?id=1325

« previous php.dev (#17911) next »