double method keep return initial value

前端 未结 0 1980
后悔当初
后悔当初 2021-02-04 03:02

I have a list of rate, I want of the function I built it to calculate average of these rates and return it, but it keeps return me 0.0 (the initial value).

double         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题