BinaryCodedDecimalEncode(Byte) Method

Gets binary-coded decimal from binary value.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.171 -- Release Build+20915b5e5c2b832e94890ea4187a61c474a2582a
public static byte Encode(
	byte value
)

Parameters

value  Byte
Binary value.

Return Value

Byte
Binary-coded decimal representation of standard binary value.

Exceptions

ArgumentOutOfRangeExceptionA binary-coded decimal has a maximum value of 99 for a single byte.

See Also