toDoubleTwoByte function

double toDoubleTwoByte(
  1. int msb,
  2. int lsb
)

Implementation

double toDoubleTwoByte(int msb, int lsb) {
  final bytes = (msb << 8) + lsb;
  return (bytes - ((bytes & 0x8000) << 1)) / 13981.0;
}