DataOutputStream.writeFloat
Class Overview | Class Members |
This Package |
All Packages
public final void writeFloat( float v ) throws IOException
Parameters
- v
- a float value to be written.
Description
Converts the float argument to an int using the
floatToIntBits method in class Float,
and then writes that int value to the underlying
output stream as a 4-byte quantity, high byte first.
Exceptions
IOException
if an I/O error occurs.
See Also
out, floatToIntBits