public static float convertFloatFromBytes(byte[] byteArray, int offset) {
        // Convert it to an int
        int number = convertIntFromBytes(byteArray, offset);
        return Float.intBitsToFloat(number);
    }
Read in a float from an InputStream

@param inputStream
           The InputStream used to read the float
@return A float, which is the next 4 bytes converted from the InputStream
@throws IOException
            Thrown if there is a problem reading from the InputStream
jme3-core/src/plugins/java/com/jme3/export/binary/ByteUtils.java