Trunc
Class
Implements the TRUNC function, which truncates a number to a specified precision by removing fractional digits.
Definition
Namespace:Telerik.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
C#
public class Trunc : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionTrunc...
Inherited Members
Constructors
Initializes a new instance of the TRUNC function.
C#
public Trunc()
Fields
The name of the function.
C#
public static readonly string FunctionName
Properties
Gets the function info.
C#
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides:
Methods
Evaluates the TRUNC function and returns the truncated number.
C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
The context.
Returns:Functions result as RadExpression.
Overrides: