Class RoundUp
Rounds a number up away from zero to a specified number of decimal places, always rounding in the positive direction.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class RoundUp : NumbersInFunction
Constructors
RoundUp()
Initializes a new ROUNDUP function that rounds numbers up away from zero.
Declaration
public RoundUp()
Fields
FunctionName
The name of the function.
Declaration
public static readonly string FunctionName
Field Value
|
System.String
|
Properties
FunctionInfo
Metadata describing the function signature, category, and argument requirements.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
|
FunctionInfo
The function info as FunctionInfo. |
Overrides
Name
The function name "ROUNDUP" as it appears in spreadsheet formulas.
Declaration
public override string Name { get; }
Property Value
|
System.String
The name as String. |
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
|
FunctionEvaluationContext<System.Double>
context
The context. |
Returns
|
RadExpression
Functions result as RadExpression. |