Click or drag to resize

BinaryCodedDecimalEncode(UInt16) Method

Gets binary-coded decimal from binary value.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static ushort Encode(
	ushort value
)
View Source

Parameters

value  UInt16
Binary value.

Return Value

UInt16
Binary-coded decimal representation of standard binary value.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionA binary-coded decimal has a maximum value of 9,999 for two bytes.
See Also