ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Financial Class / SLN Method
Required. The initial cost of the asset.
Required. The value of the asset at the end of its useful life.
Required. The length of the useful life of the asset.

SLN Method
Returns a value specifying the straight-line depreciation of an asset for a single period.
Syntax
'Declaration
 
Public Shared Function SLN( _
   ByVal Cost As Double, _
   ByVal Salvage As Double, _
   ByVal Life As Double _
) As Double
 

Parameters

Cost
Required. The initial cost of the asset.
Salvage
Required. The value of the asset at the end of its useful life.
Life
Required. The length of the useful life of the asset.

Return Value

a value specifying the straight-line depreciation of an asset for a single period.
Exceptions
ExceptionDescription
Life = 0
See Also