New to Telerik Document ProcessingStart a free 30-day trial

Rounds a number down toward zero to a specified number of decimal places, truncating rather than rounding up.

Definition

Constructors

Initializes a new ROUNDDOWN function that rounds numbers down toward zero.

C#
public RoundDown()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the ROUNDDOWN function and returns the number rounded down toward zero to the specified decimal places.

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>)

Properties

Metadata describing the function signature, category, and argument requirements.

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

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

The function name "ROUNDDOWN" as it appears in spreadsheet formulas.

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

The name as String.

Overrides: FunctionBase.Name