handicap index should be rounded to one decimal place

Bug #511332 reported by Ryan Ahearn
6
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
Revision history for this message
Ryan Ahearn (ryan-c-ahearn) wrote :

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 HandicapCalculator.playerIndex

Changed in golfstats:
status: Triaged → Fix Committed
Changed in golfstats:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.