RE: [PHP] Math Weirdness
| From: | Jay Blanchard | Date: | Mon, 14 Jul 2008 19:12:02 +0000 |
| Subject: | RE: [PHP] Math Weirdness | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276761@lists.php.net to get a copy of this message | ||
[snip]
So again... from whence do you conjure $endingBal? :)
[/snip]
$endingBal is conjured from the database tracking the account balance.
For any 24 hour period the beginning and ending balance for subsequent
days is the same unless adjustments or payments have been made to the
account in that period.
2:35 AM balance becomes the ending balance for the previous day and
becomes the beginning balance for the day we are beginning.