Java Float Number Create toFloat(double[] in)

Here you can find the source of toFloat(double[] in)

Description

to Float

License

Apache License

Declaration

public static float[] toFloat(double[] in) 

Method Source Code

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

public class Main {
    public static float[] toFloat(double[] in) {
        float[] out = new float[in.length];
        for (int i = 0; i < in.length; i++) {
            out[i] = (float) in[i];
        }/*from   w  w w  .ja va  2  s.c o m*/
        return out;
    }
}

Related

  1. toFloat(byte[] value)
  2. toFloat(byte[][] a)
  3. toFloat(double in1)
  4. toFloat(double[] a)
  5. toFloat(double[] a)
  6. toFloat(double[] v)
  7. toFloat(final byte[] ba)
  8. toFloat(final byte[] inputBytes, final int offset)
  9. toFloat(final Integer value)