Because of a recent post, I decided to dust off and polish up
an old loan amortization program that I wrote some years ago.
Now to the best of recollation, the old program, written in
PB/DOS 2.1f was accurate down to the penny right up to the last
month of the repayment period.
With PB/DOS 3.5, under certain circumstances, an error occurs
that I haven't been able to narrow down.
For example, if I enter loan data for 30 years, (360 months),
it sometimes over-runs to 361 months. Now I assume this is due
to rounding errors but I haven't been able to "debug" this and
it's driving me nuts. Can anyone give me some ideas without me
posting the source code? TIA.
BTW: I don't have 2.1f anymore. I lost it after I found out
that windows, by default, doesn't backup .EXE files.
------------------
an old loan amortization program that I wrote some years ago.
Now to the best of recollation, the old program, written in
PB/DOS 2.1f was accurate down to the penny right up to the last
month of the repayment period.
With PB/DOS 3.5, under certain circumstances, an error occurs
that I haven't been able to narrow down.
For example, if I enter loan data for 30 years, (360 months),
it sometimes over-runs to 361 months. Now I assume this is due
to rounding errors but I haven't been able to "debug" this and
it's driving me nuts. Can anyone give me some ideas without me
posting the source code? TIA.
BTW: I don't have 2.1f anymore. I lost it after I found out
that windows, by default, doesn't backup .EXE files.
------------------
Comment