pbr Game Scout

By pabst Last update Dec 8, 2010 — Installed 89,437 times.

Yardage Averages Incorrect

in
Subscribe to Yardage Averages Incorrect 3 posts, 2 voices



PenCastle User

Love the script, but found a problem.

Rushing averages are incorrect. In the 'Far Left' column, just for example, I'm seeing 1 attempt for 4 yards. In the 'Yards / Att' column, it shows an average of 3.50. This is irregular throughout the rushing totals, i.e. 10 att, 55 yds, 5.45 average. You can even see this in the rushing screenshot.

Other than those minor mathematical errors, this script is brilliant. Should save me a lot of time. Thanks!

 
pabst Script's Author

It's the decimal yardage being rounded out. I hate those damn decimals :-)

 
PenCastle User

Assumed as much. That's why I prefer PHP to javascript. The round functions are far easier to use.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel