GSF.BinaryCodedDecimal.Decode C# (CSharp) Method

Decode() private method

private Decode ( byte bcd ) : byte
bcd byte
return byte
        public static byte Decode(byte bcd)
        {
            return (byte)(bcd.HighNibble() * TenP1 + bcd.LowNibble());
        }

Same methods

BinaryCodedDecimal::Decode ( uint bcd ) : uint
BinaryCodedDecimal::Decode ( ulong bcd ) : ulong
BinaryCodedDecimal::Decode ( ushort bcd ) : ushort
BinaryCodedDecimal