SLN Function

See Also375FGX5              ExampleGUA4BM>Low


Returns the straight-line depreciation of an asset for a single period.


SLN(cost, salvage, life)


The SLN function uses the following numeric arguments:

Argument     Description


cost               Initial cost of the asset.

salvage          Value of the asset at the end of its useful life.

life                 Length of the useful life of the asset.


The period for which the depreciation is returned is expressed in the same unit of time as the useful life of the asset.  All arguments must be positive numbers.


Distribution Note   When you create and distribute applications that use any of the financial functions, you should install the file MSAFINX.DLL in the customer's Microsoft Windows \SYSTEM directory.  The Visual Basic Setup KitGUH5X7 provides tools to help you write setup programs that install your applications.