Quantcast

Maximum PC

It is currently Tue Aug 19, 2014 10:53 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Freaky Poll Results Defy Logic!
PostPosted: Wed Dec 29, 2004 8:08 am 
Max [Ph]otographer
Max [Ph]otographer
User avatar

Joined: Mon Jun 28, 2004 4:10 pm
Posts: 5200
Hey, I think a 4th grader could have done a better job of poll results:

Image

Yeah, that's right kids, 10+89 = 100. :lol:

Seriously though, the actual numbers should have been 10.53% and 11.47% when rounded to two decimal places.

Why on earth did the Max PC Forums round 10.53 down to 10?

Any 4th grader can tell you that 10.50 - 10.99 should be rounded up to 11, that's just basic math.

Anyone got any ideas?

Dan O.


Top
  Profile  
 
 Post subject:
PostPosted: Wed Dec 29, 2004 8:14 am 
Klamath
Klamath
User avatar

Joined: Fri Dec 03, 2004 6:02 am
Posts: 204
Location: Marysville, OH
Yes....you're too anal.... :?

What...couldn't take the time to point out the typo as well? :)


Top
  Profile  
 
 Post subject:
PostPosted: Wed Dec 29, 2004 10:17 am 
Team Member Top 100
Team Member Top 100
User avatar

Joined: Thu Jul 01, 2004 12:17 pm
Posts: 145
Location: Chicago area
Belboz99

I recall from writing some VB programs that VB rounds differently from pure mathematical rounding in the case of a value lying exactly between 2 values (e.g., 10.5). You can read about it for VBScripting from MSDN Library here.

In a nutshell, VBScript will return the nearest even number to the value that is to be rounded. For example, 10.5 rounds to 10 rather than 11; 11.5 rounds to 12.

If this is the case, the poll result rounded to 1 decimal place would be 10.5; applying the above algorithm would result in an integer "rounded" value of 10.

Again, this is conjecture on my part, but it may provide an explanation.


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group