public static byte[] toBytes(final float f) {
        // Encode it as int
        return Bytes.toBytes(Float.floatToRawIntBits(f));
    }
Return the float represented as byte[]
stroom-bytebuffer/src/main/java/stroom/bytebuffer/hbase/Bytes.java