code: public void print(float f) throws IOException {
  	    if (writer != null) {
  	        writer.write(String.valueOf(f));
  	    } else {
  	        write(String.valueOf(f));
  	    }
      }
docs: Print a floating-point number.  The string produced by <code>{@link
  java.lang.String#valueOf(float)}</code> is translated into bytes
  according to the platform's default character encoding, and these bytes
  are written in exactly the manner of the
  <code>{@link #write(int)}</code> method.
  
  @param f The <code>float</code> to be printed
  @throws IOException