handicap index should be rounded to one decimal place
Bug #511332 reported by
Ryan Ahearn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GolfStats |
Fix Released
|
Low
|
Ryan Ahearn |
Bug Description
Handicap index should be rounded to one decimal place. Currently it is not rounded off at all.
Display all handicap indexes as having one decimal place for consistency.
Changed in golfstats: | |
assignee: | nobody → Ryan Ahearn (ryan-c-ahearn) |
importance: | Undecided → Low |
milestone: | none → 0.3.1 |
status: | New → Triaged |
Changed in golfstats: | |
status: | Triaged → Fix Committed |
Changed in golfstats: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Actually need to just drop the digits, instead of rounding.
From http:// golf.about. com/cs/ handicapping/ a/howcalculated .htm:
Multiply the result by .96 (96-percent). Drop all the digits after the tenths (do not round off) and the result is handicap index.
Proper place to do this is in HandicapCalcula tor.playerIndex