Signature (Visual Basic / VBA)
Public Function CoerceTwoBytesToInteger( _
ByVal vLo As Byte _
, ByVal vHi As Byte _
) As Integer
Code Example
CoerceTwoBytesToInteger(1, 2) = 513
CoerceTwoBytesToInteger(2, 1) = 258
CoerceTwoBytesToInteger(254, 255) = -2
CoerceTwoBytesToInteger(255, 254) = -257