kmb266 / cs5150-basketball-project

A basketball stats program created by a CS 5150 team during the Spring 2018 semester
0 stars 0 forks source link

Forumla is wrong #12

Open dbr96 opened 6 years ago

dbr96 commented 6 years ago

https://github.com/kmb266/cs5150-basketball-project/blob/37a68d206d91ba7208e61c851fe2e65c8e60493b/app/advanced_stat.py#L942

This one there is a parenthesis missing before AST. AST is part of the bigger division equation and needs to be done before multiplying by 100.

kmb266 commented 6 years ago

Will change. thanks -- Can you write the correct formula here in a comment? or confirm this is correct?

My best guess: float(100*(AST/(((MIN/(TmMIN/5))*TmFGM)-FGM)))

dbr96 commented 6 years ago

Yes. That looks right to me.