public static String decodeBCD(final short bcd){
  return String.format("%x.%02x",(bcd & 0xFF00) >> 8,bcd & 0x00FF);
}

public static String decodeBCD ( final short bcd ) { return String . format ( "%x.%02x" , ( bcd & 0xFF00 ) > > 8 , bcd & 0x00FF ) ; }
decodes a binary - coded decimal into a string and returns it .
