Here you can find the source of ArrayCeilSum(float[] a)
public static float ArrayCeilSum(float[] a)
//package com.java2s; //License from project: Open Source License public class Main { public static float ArrayCeilSum(float[] a) { float sum = 0.0f; for (float aa : a) { sum += Math.ceil(aa); }//from w ww . java 2 s .c o m return sum; } }