The list of methods to do Float Number Create are organized into topic(s).
float
toFloat(byte[] b) to Float
int l;
l = b[0];
l &= 0xff;
l |= ((long) b[1] << 8);
l &= 0xffff;
l |= ((long) b[2] << 16);
l &= 0xffffff;
l |= ((long) b[3] << 24);
...
float
toFloat(byte[] byteArray) to Float
if (byteArray == null || byteArray.length != 4)
return 0x0;
return Float.intBitsToFloat(toInt(byteArray));
float
toFloat(byte[] bytes) Presumes float encoded as IEEE 754 floating-point "single format"
return toFloat(bytes, 0);
float
toFloat(byte[] bytes) Presumes float encoded as IEEE 754 floating-point "single format"
return toFloat(bytes, 0);
float
toFloat(byte[] bytes) to Float
return Float.intBitsToFloat(((bytes[0] & 0xff) << 8) | (bytes[1] & 0xff) | ((bytes[2] & 0xff) << 24)
| ((bytes[3] & 0xff) << 16));