ClassRoundUp
Rounds a number up away from zero to a specified number of decimal places, always rounding in the positive direction.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class RoundUp : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionRoundUp
Inherited Members
Constructors
RoundUp()
Initializes a new ROUNDUP function that rounds numbers up away from zero.
Declaration
public RoundUp()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Metadata describing the function signature, category, and argument requirements.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the ROUNDUP function and returns the number rounded up away from zero to the specified decimal places.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides