note 43672 deleted from function.floor by tomsommer

From: Date: Tue, 29 Jun 2004 22:44:09 +0000
Subject: note 43672 deleted from function.floor by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72141@lists.php.net to get a copy of this message
Note Submitter: OJW ---- For translating Visual Basic programs, which often have a Fix() function defined (truncation) <?php function fix($Number) { if($Number < 0) return(floor($Number) + 1); else return(floor($Number)); } ?>

« previous php.notes (#72141) next »