SLN

Name

SLN

Syntax

SLN (Real Cost, Real Salvage, Real Life)

Purpose

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

Description

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

Return Type

Double

Parameters

Cost [System.Double]

Salvage [System.Double]

Life [System.Double]

Example

In this example, we will be passing the required parameters to the function transformation object using a Variables object.

Where,

Cost = 35000

Salvage ­= 3000

Life = 10

Right-click on the function transformation object and select Preview Output. You can see that Astera Data Stack has applied the SLN function, and returned the staright-line depreciation value.

Last updated

© Copyright 2023, Astera Software