ClassRound
Rounds a number to a specified number of decimal places using standard rounding rules (0.5 rounds up).
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Round : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionRound
Inherited Members
Constructors
Round()
Initializes a new ROUND function that rounds numbers to a specified precision.
Declaration
public Round()
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 ROUND function and returns the number rounded to the specified number of decimal places.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides