Returns the depreciation of an asset using the double-declining
balance method.
Namespace:
Imsl.Finance
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double Ddb( double cost, double salvage, int life, int period, double factor ) |
Visual Basic (Declaration) |
---|
Public Shared Function Ddb ( _ cost As Double, _ salvage As Double, _ life As Integer, _ period As Integer, _ factor As Double _ ) As Double |
Visual C++ |
---|
public: static double Ddb( double cost, double salvage, int life, int period, double factor ) |
Parameters
- cost
- Type: System..::.Double
A double which specifies the initial cost of the asset.
- salvage
- Type: System..::.Double
A double which specifies the salvage value of the asset.
- life
- Type: System..::.Int32
A int which specifies the number of periods over which the asset is being depreciated.
- period
- Type: System..::.Int32
A int which specifies the period.
- factor
- Type: System..::.Double
A double which specifies the rate at which the balance declines.
Return Value
A double which specifies the depreciation of an asset for a specified period.
Remarks
It is computed using the following:
![\left[ {{\it cost} - {\it salvage}\left(
{\it {total\,depreciation\,from\,prior\,periods}} \right)} \right]\,
{{{\it factor} \over {\it life}}}](eqn/eqn_0330.png)
![\left[ {{\it cost} - {\it salvage}\left(
{\it {total\,depreciation\,from\,prior\,periods}} \right)} \right]\,
{{{\it factor} \over {\it life}}}](eqn/eqn_0330.png)