code: public static void writeFloat(float num, DataOutput out) throws IOException {
          writeInt(Float.floatToIntBits(num), out);
      }
docs: Writes a float to an output stream
  @param num the float to be written
  @param out the output stream