IFinance.Sln

Syntax

Sln(Cost: Double; Salvage: Double; Life: Integer): Double;

Parameters

Parameters Description Constraints
Cost Cost for acquiring an asset. Cannot be negative.
Salvage Value of an asset at the end of its useful life. Must belong to the [0;Cost] interval.
Life The number of periods of useful life. Must be positive.

Description

The Sln method returns the depreciation of an asset for one period, calculated using a linear method.

Comments

Sln is calculated using the following formula:

Example

To execute the example, add a link to the MathFin system assembly.

Sub UserProc;
Var
    r: Double;
Begin
    r := Finance.
Sln(15000.1100024);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the asset depreciation value equal to 583.3375.

See also:

IFinance