ma il metodo che mi hai suggerito, non converte in INT?
public final void writeFloat(float_v)
throws IOException
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.
If no exception is thrown, the counter written is incremented by 4. Specified by:writeFloat in interface DataOutput
Parameters:v - a float value to be written.
Throws: IOException - if an I/O error occurs.
See Also:FilterOutputStream.out, Float.floatToIntBits(float)