i want to write a code that monthly depreciates an asset over time using the straight line depreciation method,
the calculation has to be done in backend using c# or vb and displays it result in html table.
the datas are Depreciable Cost= 1000, Salvage Value= 1.00, depreciable date start = Sept/2019, Asset Life (months)= 10 months, depreciable method= Straight Line,
formula = ( Depreciable Cost - Salvage Value) / Asset Life (months))
below is a screenshot of the result in an html table