Open dbr96 opened 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.
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)))
float(100*(AST/(((MIN/(TmMIN/5))*TmFGM)-FGM)))
Yes. That looks right to me.
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.