Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Convert the passed number to the specified type.

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

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