Click or drag to resize

PofHelperCalcDecimalSize Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-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: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static int CalcDecimalSize(
	decimal value
)

Parameters

value
Type: SystemDecimal
The decimal value.

Return Value

Type: Int32
The number of bytes (4, 8 or 16).
See Also