List of utility methods to do Number to Double
Double | NumberToDouble(final Number value) Number To Double return value == null ? null : value.doubleValue();
|
Double[] | numberToDouble(Number[] x) Converts an array of primitive bytes to doubles Double[] z = new Double[x.length]; for (int i = 0; i < x.length; i++) { z[i] = x[i] != null ? new Double(x[i].doubleValue()) : null; return z; |