Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的输入,我如何计算平均值?
5 star - 252 4 star - 124 3 star - 40 2 star - 29 1 star - 33 totally 478
谁能告诉我。。
(252*5 + 124*4 + 40*3 + 29*2 + 33*1) / (252 + 124 + 40 + 29 + 33)
像在简单数学中一样简单地取平均值。
(252*5 + 124*4 + 40*3 + 29*2 + 33*1)/478