List of utility methods to do Double Number Create
double | toDouble(byte[] arr) to Double return Double.longBitsToDouble(toLong(arr));
|
double | toDouble(byte[] b) to Double return toDouble(b, 0);
|
double | toDouble(byte[] byteArray) to Double if (byteArray == null || byteArray.length != 8) return 0x0; return Double.longBitsToDouble(toLong(byteArray)); |
double | toDouble(byte[] bytes) to Double long longValue = toLong(bytes); return Double.longBitsToDouble(longValue); |
double | toDouble(byte[] bytes) Convert bytes to a double value. double retVal = 0; try { if (bytes == null) return 0.0; String s = new String(bytes); return Double.parseDouble(s); } catch (NumberFormatException nfe) { return retVal; |
double | toDouble(byte[] bytes, int index) to Double return Double.longBitsToDouble(toLong(bytes, index));
|
double | toDouble(byte[] bytes, int offset) to Double return Double.longBitsToDouble(toLong(bytes, offset));
|
double | toDouble(byte[] data) to Double if (data.length != 8) return 0; return Double.longBitsToDouble(toLong(data)); |
double | toDouble(byte[] data) Convert byte array to double if (data == null || data.length != 8) return 0x0; return Double.longBitsToDouble(toLong(data)); |
double | toDouble(byte[] data) to Double if ((data == null) || (data.length != 8)) { return 0x0; return Double.longBitsToDouble(toLong(data)); |