Returns the depreciation of an asset using the straight line method.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Sln(
double cost,
double salvage,
int life
)
Public Shared Function Sln (
cost As Double,
salvage As Double,
life As Integer
) As Double
public:
static double Sln(
double cost,
double salvage,
int life
)
static member Sln :
cost : float *
salvage : float *
life : int -> 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.
Return Value
Type:
Double
A
double which specifies the straight line depreciation of an
asset for one period.
Remarks
It is computed using the following:
See Also