Returns the depreciation for each accounting Frequency.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Amordegrc(
double cost,
DateTime issue,
DateTime firstPeriod,
double salvage,
int period,
double rate,
DayCountBasis basis
)
Public Shared Function Amordegrc (
cost As Double,
issue As DateTime,
firstPeriod As DateTime,
salvage As Double,
period As Integer,
rate As Double,
basis As DayCountBasis
) As Double
public:
static double Amordegrc(
double cost,
DateTime issue,
DateTime firstPeriod,
double salvage,
int period,
double rate,
DayCountBasis^ basis
)
static member Amordegrc :
cost : float *
issue : DateTime *
firstPeriod : DateTime *
salvage : float *
period : int *
rate : float *
basis : DayCountBasis -> float
Parameters
- cost
- Type: SystemDouble
A double which specifies the cost of the asset.
- issue
- Type: SystemDateTime
The DateTime issue date of the asset.
- firstPeriod
- Type: SystemDateTime
The DateTime date of the end of the first period.
- salvage
- Type: SystemDouble
A double which specifies the asset's salvage value at the end
of the life of the asset.
- period
- Type: SystemInt32
A int which specifies the period.
- rate
- Type: SystemDouble
A double which specifies the rate of depreciation.
- basis
- Type: Imsl.FinanceDayCountBasis
A DayCountBasis object which contains the type of day count
basis to use.
Return Value
Type:
Double
A
double which specifies the depreciation.
Remarks
This function is similar to Amorlinc. However, in this
function a depreciation coefficient based on the asset life is
applied during the evaluation of the function.
See Also