Java Long to Double longToDouble(long[] values)

Here you can find the source of longToDouble(long[] values)

Description

long To Double

License

Open Source License

Declaration

public static double[] longToDouble(long[] values) 

Method Source Code

//package com.java2s;

public class Main {
    public static double[] longToDouble(long[] values) {
        if (values == null) {
            return null;
        }// w  ww .j a va 2 s.c om

        double[] results = new double[values.length];
        for (int i = 0; i < values.length; i++) {
            results[i] = values[i];
        }
        return results;
    }
}

Related

  1. longToDouble(final long value)
  2. longToDouble(long d)
  3. longToDouble(long[] array)