
how is the calculation actually performed? How did they get 3.5? What formula?
By this:

Js code is not a problem
This is called a weighted average.
UPD . According to your picture

And round the resulting result
Source: https://ru.stackoverflow.com/questions/423176/
All Articles