sln Function
Description:
The depreciation of an asset using the straight-line method.
Returns:
Number
Parameters:
Parameter | Data Type | Description |
|---|---|---|
1 | Number | The initial value of the asset. |
2 | Number | The salvage value at the end of its useful life. |
3 | Whole Number | The useful life of the asset in years. |
Example:
When using functions inside a field, remember the field brackets:
{sln(VehicleInitialValue, VehicleSalvageValue, VehicleLifeYears)}
Expression | Result |
|---|---|
sln( 30000, 7500, 10 ) | 2250 |