Round
Class
Rounds a number to a specified number of decimal places using standard rounding rules (0.5 rounds up).
Definition
Namespace:Telerik.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
C#
public class Round : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionRound...
Inherited Members
Constructors
Initializes a new ROUND function that rounds numbers to a specified precision.
C#
public Round()
Fields
The name of the function.
C#
public static readonly string FunctionName
Properties
Metadata describing the function signature, category, and argument requirements.
C#
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides:
Methods
Evaluates the ROUND function and returns the number rounded to the specified number of decimal places.
C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
The context.
Returns:Functions result as RadExpression.
Overrides: