Straight - line depreciation

blueeyes53

Active member
Joined
May 2, 2006
Messages
25
Programming Experience
Beginner
Hi,
I have been working on a straight- line depreciation loan amortization.

I have entered all of the codes, but when I click the Print Report button, the preview shows:

Year StartValue Depreciation End Value
1,000.00 990.00 .00

It is not printing, calculating, at all.

InitialValue =1000 AssetLife=10 SalvageValue=100

Could anyone help of why is not calculating, subtracting, or printing the results.

Thanks
 
It is your code that is doing the calculating, subtracting and printing so if those operations aren't working then your code is wrong. Without having seen the code how could anyone know what the problem is? You need to debug your application. Place breakpoints at critical points and test the values of your variables in the IDE to see if they contain the values you expect. Use the F10 key to step through your code one line at a time to see which path execution follows.
 
Back
Top