public final void writeFloat(float val) throws IOException {
  writeInt(Float.floatToIntBits(val));
}

public final void writeFloat ( float val ) throws IOException { writeInt ( Float . floatToIntBits ( val ) ) ; }
writes a 32 - bit float to the target stream . the resulting output is the four bytes resulting from calling float . floattointbits ( ) .
