Re: Seems Simple enough
| From: | Stuart | Date: | Mon, 26 Jan 2004 17:21:53 +0000 |
| Subject: | Re: Seems Simple enough | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175788@lists.php.net to get a copy of this message | ||
Christopher J. Crane wrote:
To the original problem, it all hinges on me changing the format of $Balance. If I remove the line " $Balance = number_format($SummaryField["Balance"],2,'.',','); " and replace it with " $Balance = $SummaryField["Balance"]; " it works fine.Well, duh! If you add periods and commas it will make it a text variable and will no longer equate to 10000. You need to format it after the comparisons. -- Stuart