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