I have an ArrayList of doubles, and i need to find the average between all numbers. The amount of Double instances in the arraylist is not constant, could be 2, could be 90 I have been trying for hours to get the algorithm myself but could not get it to work in anyway.
你有什么建议? 或者,你能否把我与现有的图书馆联系起来,以获得这一平均数?
谢谢。