|
-
Nov 28th, 2000, 03:37 PM
#1
Can anyone help me?
The variables used are declared as Single.
fTotCash = fLoanAmt - fOdd_DaysAmt
fCash_Borwr = Format$(fTotCash, "########.00")
Problem:
If fLoanAmt = 44,000 and fOdd_DaysAmt = 99.24 Then I get the correct fCash_Borwr = 43,900.76
But if the fLoanAmt = 444,000 and fOdd_daysAmt = 99.24, the
fCash_Borwr = 443,900.80.
I'm not doing any rounding. But it seems that if the
fLoanAmt >= 100,000, the result is rounded.
What causes this? Is there a way to fix this? Formatting doesn't seem to work.
Thanks in advance,
Madi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|