Java Double Convert to double2Float(double[] v)

Here you can find the source of double2Float(double[] v)

Description

double Float

License

Apache License

Declaration

public static float[] double2Float(double[] v) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static float[] double2Float(double[] v) {
        float f[] = new float[v.length];
        for (int i = 0; i < v.length; i++) {
            f[i] = (float) v[i];
        }/* ww w  . j a  va2 s. c om*/
        return f;
    }
}

Related

  1. double2array(int sz, double seed)
  2. double2bin(double d)
  3. double2bipolar(final double d[])
  4. double2dimToFloat1Dim(double[][] points)
  5. double2fixed(double value)
  6. double2int(final double d)
  7. double2long(double value)
  8. double2short(double d)
  9. double2sortableStr(double val)