[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns the coercion type for the 2 numeric types for use in arithmatic. Note: byte and short types always result in integer.

Namespace: net.esper.util
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function GetArithmaticCoercionType ( _
	typeOne As Type, _
	typeTwo As Type _
) As Type
C#
public static Type GetArithmaticCoercionType (
	Type typeOne,
	Type typeTwo
)
Visual C++
public:
static Type^ GetArithmaticCoercionType (
	Type^ typeOne, 
	Type^ typeTwo
)

Parameters

typeOne
System.Type
The type one.
typeTwo
System.Type
The type two.

Return Value

coerced type