Polls Math does not add up properly.

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
contiw
Active Member
Posts: 19
Joined: 11. June 2010 19:59
phpBB.com User: contiw

Polls Math does not add up properly.

Post by contiw »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Premodded phpBB
MODs installed: Yes
Your knowledge: Beginner

What have you done before the problem was there?
Nothing

What have you already tryed to solve the problem?
Tried unsuccesfully to find code for calculating percentage.

Description and Message
I would like one or two decimals in the percentage.
It look like percentages are alway rounded by truncating the decimal.
In case of a poll with 6/7 options the tot percent get short even of 5 points.
The observer kind of lose faith in the poll.
Please advise how to do it.
Thank you.
User avatar

Jupiter
Active Member
Posts: 21
Joined: 11. June 2008 18:27

Re: Polls Math does not add up properly.

Post by Jupiter »

I found a rounding error a while back and it has still not been fixed.... Here is the thread where I fixed the problem.
Does this help your problem?

viewtopic.php?f=10&t=3057

Topic author
contiw
Active Member
Posts: 19
Joined: 11. June 2010 19:59
phpBB.com User: contiw

Re: Polls Math does not add up properly.

Post by contiw »

It did help. Thank You.
Although one decimal place would be more "scientific". :)
Thanks again.
Locked

Return to “board3 Portal 1.0.x - English Support”