Click or drag to resize

BinaryCodedDecimalEncode(UInt64) Method

Gets binary-coded decimal from binary value.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public static ulong Encode(
	ulong value
)
View Source

Parameters

value  UInt64
Binary value.

Return Value

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