Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01

Convert the passed number to the specified type.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

Syntax

C#
public static Object ConvertNumber(
	Object number,
	int dotNetTypeId
)

Parameters

number
Type: System..::.Object
The number to convert.
dotNetTypeId
Type: System..::.Int32
The .NET type ID to convert to, one of the PofConstants struct T_* constants.

Return Value

The number converted to the specified type.

See Also