Here you can find the source of intToFloat(int[] values)
public static float[] intToFloat(int[] values)
//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; } }