Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
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: 12.2.1.4014 (12.2.1.4014)

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