RE: Math Weirdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---- Robert Cummings <robert@xxxxxxxxxxxxx> wrote: 
> On Mon, 2008-07-14 at 14:12 -0500, Jay Blanchard wrote:
> > [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.
> 
> Isn't it possible then that your data is out of synch between the
> current balance and the previous day's ending balance?
> 
> Cheers,
> Rob. 


See!!!  I told you he was skimming the profits!  Better check his desk for the "other" set of books! ;)

I'd suggest the int approach.

Wolf

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux