Returns the depreciation of an asset for any given period using the
variable-declining balance method.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Vdb(
double cost,
double salvage,
int life,
int firstPeriod,
int lastPeriod,
double factor,
bool noSL
)
Public Shared Function Vdb (
cost As Double,
salvage As Double,
life As Integer,
firstPeriod As Integer,
lastPeriod As Integer,
factor As Double,
noSL As Boolean
) As Double
public:
static double Vdb(
double cost,
double salvage,
int life,
int firstPeriod,
int lastPeriod,
double factor,
bool noSL
)
static member Vdb :
cost : float *
salvage : float *
life : int *
firstPeriod : int *
lastPeriod : int *
factor : float *
noSL : bool -> float
Parameters
- cost
- Type: SystemDouble
A double which specifies the initial cost of the asset.
- salvage
- Type: SystemDouble
A double which specifies the salvage value of the asset.
- life
- Type: SystemInt32
A int which specifies the number of periods over which the
asset is being depreciated.
- firstPeriod
- Type: SystemInt32
A int which specifies the first period for the calculation.
- lastPeriod
- Type: SystemInt32
A int which specifies the last period for the calculation.
- factor
- Type: SystemDouble
A double which specifies the rate at which the balance
declines.
- noSL
- Type: SystemBoolean
A bool flag. If true, do not switch to straight-line
depreciation even when the depreciation is greater than the declining
balance calculation.
Return Value
Type:
Double
A
double which specifies the depreciation of the asset.
Remarks
It is computed using the following:
If
,
If
,
where
is computed from Ddb
for the i-th period. k = the first period where
straight line depreciation is greater than the depreciation using the
double-declining balance method.
See Also