BinaryCodedDecimalEncode(UInt16) Method

Gets binary-coded decimal from binary value.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.138 -- Release Build+88ca978c0cce6d0d3e501e198adb13956063f519
public static ushort Encode(
	ushort value
)

Parameters

value  UInt16
Binary value.

Return Value

UInt16
Binary-coded decimal representation of standard binary value.

Exceptions

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

See Also