New to Telerik Document Processing? Start a free 30-day trial

Sln

Class

Implements the SLN financial function that calculates straight-line depreciation of an asset for a single period.

Definition

Constructors

Initializes a new SLN function instance for calculating depreciation using the straight-line method based on cost, salvage value, and useful life.

C#
public Sln()

Fields

Function name identifier for the SLN function.

C#
public static readonly string FunctionName

Properties

Metadata describing the function's signature, arguments, and return format for use by the expression evaluator.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Function name used for formula evaluation and display.

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name

Methods

Virtual method evaluating the function with System.Object arguments array.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters:contextFunctionEvaluationContext<double>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<double>.EvaluateOverride(FunctionEvaluationContext<double>)