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

Determine the minimum size (in bytes) of the IEEE754 decimal type that would be capable of holding the passed value.

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

Syntax

C#
public static int CalcDecimalSize(
	decimal value
)

Parameters

value
Type: System..::.Decimal
The decimal value.

Return Value

The number of bytes (4, 8 or 16).

See Also