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

Coerce the given number to the given type. Allows coerce to lower resultion number. Doesn't coerce to primitive types. numToCoerce is the number to coerce to the given typethe result type to return

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

Syntax

Visual Basic (Declaration)
Public Shared Function CoerceNumber ( _
	numToCoerce As Object, _
	resultType As Type _
) As Object
C#
public static Object CoerceNumber (
	Object numToCoerce,
	Type resultType
)
Visual C++
public:
static Object^ CoerceNumber (
	Object^ numToCoerce, 
	Type^ resultType
)

Parameters

numToCoerce
System.Object
resultType
System.Type