note 27911 rejected from language.operators.arithmetic by nicos

From: Date: Tue, 24 Dec 2002 16:45:45 +0000
Subject: note 27911 rejected from language.operators.arithmetic by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-41259@lists.php.net to get a copy of this message
I think this will always work: function div($a,$b){ return round(($a-($a % $b))/$b); }

« previous php.notes (#41259) next »