Java Integer to Float intToFloat(int[] values)

Here you can find the source of intToFloat(int[] values)

Description

int To Float

License

Open Source License

Declaration

public static float[] intToFloat(int[] values) 

Method Source Code

//package com.java2s;

public class Main {
    public static float[] intToFloat(int[] values) {
        if (values == null) {
            return null;
        }// w w  w .  jav  a 2 s. c o  m

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

Related

  1. convertIntToFloat(final int[] intValues)
  2. convertIntToFloat(int arr[])
  3. intToFloat(int integer)
  4. IntToFloat(long x)
  5. intToFloatArray(int[] ints)
  6. intToFloatColor(int value)