public void print (float f)

Prints a floating-point number. The string produced by java.lang.String.valueOf(float) is translated into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the write(int) method.

Parameters:
f    The float to be printed

See also:
java.lang.Float.toString(float)