Java Long to Float longToFloat(long[] values)

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

Description

long To Float

License

Open Source License

Declaration

public static float[] longToFloat(long[] values) 

Method Source Code

//package com.java2s;

public class Main {
    public static float[] longToFloat(long[] values) {
        if (values == null) {
            return null;
        }/*w  ww.  jav a2  s. co m*/

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

Related

  1. longToFloat(final long value)