New to Telerik Document ProcessingStart a free 30-day trial

RoundUp

Class

Rounds a number up away from zero to a specified number of decimal places, always rounding in the positive direction.

Definition

Constructors

Initializes a new ROUNDUP function that rounds numbers up away from zero.

C#
public RoundUp()

Fields

The name of the function.

C#
public static readonly string FunctionName

Methods

Evaluates the ROUNDUP function and returns the number rounded up away from 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 "ROUNDUP" as it appears in spreadsheet formulas.

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

The name as String.

Overrides: FunctionBase.Name