System.Math.SYDDepreciation
Delphi
function SYDDepreciation(const Cost, Salvage: Extended; Life, Period: Integer): Extended;
C++
extern DELPHI_PACKAGE System::Extended __fastcall SYDDepreciation(const System::Extended Cost, const System::Extended Salvage, int Life, int Period);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Calculates depreciation for an asset.
SYDDepreciation (for "sum-of-years-digits depreciation") calculates depreciation amounts for an asset using an accelerated depreciation method. This allows for higher depreciation in the earlier years of an asset's life.
Cost is the initial cost of the asset. Salvage is the value of the asset at the end of its life expectancy. Life is the length of the asset's life expectancy. Period is the period for which to calculate the depreciation.