ClassCeilingMath
Implements the CEILING.MATH function, which rounds a number up to the nearest integer or multiple of significance with optional mode control for negative numbers.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class CeilingMath : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionCeilingMath
Inherited Members
Constructors
CeilingMath()
Initializes a new CEILING.MATH function instance for rounding numbers up with configurable significance and mode for negative numbers.
Declaration
public CeilingMath()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Gets metadata describing the function's signature, category, and arguments.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the ceiling using significance and mode parameters, applying mode-based rounding direction for negative numbers, and returns the result or an error.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides