public static int floatToBytes(float f,byte[] bytes,int off){
  return intToBytes(Float.floatToIntBits(f),bytes,off);
}

public static int floatToBytes ( float f , byte [ ] bytes , int off ) { return intToBytes ( Float . floatToIntBits ( f ) , bytes , off ) ; }
converts primitive float to byte array .
