code: public static double byteArrayToDoubleLE( byte[] data ) {
          ByteBuffer buffer = ByteBuffer.wrap(data);
          buffer.order(ByteOrder.LITTLE_ENDIAN);
          return buffer.getDouble();
      }
docs: Convert a byte array to an double (little endian).
  
  @param data the byte array to convert.
  @return the double.