Here you can find the source of longToDouble(long[] array)
Parameter | Description |
---|---|
array | array of floats to convert |
public static double[] longToDouble(long[] array)
//package com.java2s; public class Main { /**/* w ww. j a v a2s. c o m*/ * Convert a long array to a double array. * @param array array of floats to convert * @return array of doubles */ public static double[] longToDouble(long[] array) { double[] darr = new double[array.length]; for (int i = 0; i < array.length; i++) { darr[i] = array[i]; } return darr; } }