note 42010 rejected from function.bccomp by betz

From: Date: Thu, 29 Apr 2004 07:24:39 +0000
Subject: note 42010 rejected from function.bccomp by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68984@lists.php.net to get a copy of this message
Note Submitter: gabenahmias@hotmail.com ---- Well, there is another, more simple option to find if a number is negative. Just do a substr($string, 0, 1) and check if it's "-."

« previous php.notes (#68984) next »