I have a byte array with length 4
byte[] h = new byte[4];
h[0] = 0x13;
h[1]=(byte)0xBF;
h[2]=(byte)0x71;
h[3]=(byte)0xA8;
which is a latitude value (actual value is 33.1313576) i am converting it into float with following statement:
ByteBuffer.wrap(h).getFloat()
output is 4.8327252E-27