Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.paradox    |    To crash or not to crash, asks Borland    |    9,834 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 8,133 of 9,834    |
|    Jeanette to All    |
|    NEED HELP for CALCs with + - / & *    |
|    05 Feb 07 15:15:08    |
      From: HarrisJR@bwsc.org              I can't figure it out...              I have this scan table statement:       if end_tbl.MonthNumber = 3 then        cFlow_tbl.Mar=cFlow_tbl.Mar + daily$ * (end - bgn) / last * 22       endif       daily$ = $6261.39 ( it is rounded and stored with 2 decimals)       end = 4/15/2006       bgn = 4/1/2006       last = 30              the idea is to get a pojected $value       the standard # of work days per month is 22 for rpts at my comp       I expected to get $64,283.60       6231.39 * (14) / 30 * 22       Pdox reports $64,282.00              What am I missing???              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca