BinaryCodedDecimalEncode(UInt64) Method

Gets binary-coded decimal from binary value.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.174 -- Release Build+c5b1b4a29589adca9a2c6916813ee5c7c2cee966
public static ulong Encode(
	ulong value
)

Parameters

value  UInt64
Binary value.

Return Value

UInt64
Binary-coded decimal representation of standard binary value.

Exceptions

ArgumentOutOfRangeExceptionA binary-coded decimal has a maximum value of 9,999,999,999,999,999 for eight bytes.

See Also