Class CeilingMath
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.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class CeilingMath : NumbersInFunction
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.
Declaration
public static readonly string FunctionName
Field Value
|
System.String
|
Properties
FunctionInfo
Gets metadata describing the function's signature, category, and arguments.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
|
FunctionInfo
The function info as FunctionInfo. |
Overrides
Name
Gets the function name used in formulas.
Declaration
public override string Name { get; }
Property Value
|
System.String
The name as String. |
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
|
FunctionEvaluationContext<System.Double>
context
The context. |
Returns
|
RadExpression
Functions result as RadExpression. |