Version

Evaluate Method (UltraCalcFunctionValue)

Evaluates the function against the argument on the number stack.
Syntax
'Declaration
 
Protected Overrides Function Evaluate( _
   ByVal numberStack As UltraCalcNumberStack, _
   ByVal argumentCount As Integer _
) As Infragistics.Win.CalcEngine.UltraCalcValue
protected override Infragistics.Win.CalcEngine.UltraCalcValue Evaluate( 
   UltraCalcNumberStack numberStack,
   int argumentCount
)

Parameters

numberStack
Formula number stack containing function arguments.
argumentCount
Denotes the number of function arguments pushed onto the number stack.

Return Value

An Infragistics.Win.CalcEngine.UltraCalcValue that represents the result of the function evaluation.
Remarks

Returns an error if the UltraCalcValue argument at the top of the number stack was an error.

Returns a value conversion into a double-precision numeric type if the incoming text can be interpreted as a numeric value (possibly after filtering off thousands separators, decimal separators, currency symbols, exponents and signs.)

Returns a numeric conversion from another numeric type if the incoming argument was not text (sometimes when the result of such a conversion is poorly defined this may defy an application's expectations, for example, a DATEVALUE may convert into a numeric value of ticks.)

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also