Author Topic: Points accuracy issue  (Read 1041 times)

sass

  • Newbie
  • *
  • Posts: 24
    • View Profile
Points accuracy issue
« on: March 01, 2009, 10:38:57 AM »
Looking for some help if possible.

My league is set up using the following point awarding formula:

10*(sqrt(n)/sqrt(r))

When any given game is finished, the formula appears to be working ok.  The points per player are displayed as whole numbers.

When I tally the points per player over our past 9 games there seem to be some minor variances however.  I believe the problem is a result of rounding the decimals etc. but I cannot seem to be able to figure it out.  My league rules state the points per game are to be rounded to nearest whole number so I want the TD software to reflect that.

Any ideas or suggestions?

Thanks alot.
Jamie

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: Points accuracy issue
« Reply #1 on: March 02, 2009, 12:35:19 PM »
round(10*(sqrt(n)/sqrt(r)))

sass

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Points accuracy issue
« Reply #2 on: March 14, 2009, 10:41:49 AM »
Thanks Corey....You da man.