SLN Function


SLN Function

Class

Microsoft.VisualBasic.Financial

Syntax

     Dim result As Double = SLN(cost, salvage, life) 


cost (required; Double)

The initial cost of the asset


salvage (required; Double)

The value of the asset at the end of its useful life


life (required; Double)

The length of the useful life of the asset

Description

The SLN function computes the straight-line depreciation of an asset for a single period. Each period receives an equal depreciation share.

Usage at a Glance

  • The function uses a very simple formula to calculate depreciation:

         depreciation = (cost - salvage) / life 

  • All arguments must be positive numeric values.

See Also

DDB Function, SYD Function




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net