Re: detecting negative numbers
| From: | John Meyer | Date: | Mon, 17 Jul 2006 12:51:56 +0000 |
| Subject: | Re: detecting negative numbers | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42213@lists.php.net to get a copy of this message | ||
Dave W wrote:
No, I get it. I just thought that there might have been some built in function like if(neg_num($quant - $amount)) or something like that. I know how to do it, but I thought that there might have been an alternate method. Just because I asked a simple question doesn't mean I'm stupid, I'm just curious if there is a simpler way to do an already simple task.I think this is a case of trying to out-think yourself.