The initial cost of the asset.
The value at the end of the depreciation (sometimes called the salvage value of the asset).
The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).
The period for which you want to calculate the
depreciation. Period must use the same units as life.
Optionalmonth: number = 12The number of months in the first year. If month
is omitted, it is assumed to be 12.
the depreciation
Calculates the depreciation of an asset for a specified period using the fixed-declining balance method.
Remarks:
, whererate = 1 - ((salvage / cost) ^ (1 / life))`, rounded to three decimal places.cost * rate * month / 12((cost - total depreciation from prior periods) * rate * (12 - month)) / 12