[Date Prev][Date Next] [Chronological] [Thread] [Top]

# RE: weighted results total votes displayed without two decimal places

- To: <bugtrack@dieboldes.com>
- Subject: RE: weighted results total votes displayed without two decimal places
- From: "Ken Clark" <ken@dieboldes.com>
- Date: Tue, 21 Aug 2001 11:49:47 -0700
- Importance: Normal
- In-Reply-To: <002901c12013$b0e9bbe0$1204a8c0@dieboldes.com>

Quick follow up to this. The number of decimal places displayed for each candidate is three, not two. The number of decimal places in the total for the candidates is two. The observant will note that the percentages shown in JResultClient work this way as well. The percents are shown with two decimal places, while the total is 100.0. The reason it works like this is for esoteric statistical reasons. 12.23 might actually be 12.234, and 12.24 might be 12.237. When you sum a list of floating point numbers, the sum has one less decimal place of significance than the elements. Or just trust me -- I didn't like stats in school any more than you did. The number of decimal places should all be configurable, but weighted races are really just a one-shot thing for Sacramento right now. When we get more weighted customers, this will be enhanced. Ken -----Original Message----- From: owner-bugtrack@dieboldes.com [mailto:owner-bugtrack@dieboldes.com]On Behalf Of Dmitry Papushin Sent: Wednesday, August 08, 2001 7:09 AM To: bugtrack@dieboldes.com Subject: Re: weighted results total votes displayed without two decimal places This is fixed and will be in GEMS-1-18-3. Dmitry ----- Original Message ----- From: Ken Clark To: bugtrack@dieboldes.com Sent: Friday, August 03, 2001 6:22 PM Subject: weighted results total votes displayed without two decimal places Reported for Brian. 1.18.2. Weighted races summary report candidate totals with two decimal places (xxxxxx.xx), but the race total votes truncates down to the whole value (xxxxxxx). The total needs to also display the fraction. Ken

- Follow-Ups:
  - Re: weighted results total votes displayed without two decimal places
    - From: "Nel Finberg" <nel@dieboldes.com>

- References:
  - Re: weighted results total votes displayed without two decimal places
    - From: "Dmitry Papushin" <dmitry@dieboldes.com>

- Prev by Date: Re: create voter card buttton greyed out after you create one challenge voter card
- Next by Date: Re: GEMS 1-18-3 Weighted race manual entry
- Index(es):
  - Chronological
  - Thread