Further information:
When my vote percentage is round, like 30% or 25% my result bars are displaying properly (are calculated properly), but when my vote percentage per answer is like 33,3 or 33,33%, that particular result bar extends through like 80% width of result bar. There is no difference between 33,3 or 25.2%. All percentages with decimals are not calculated properly after I refresh poll results.
I’m blocking double vote with cookies.
Initially, I as said, result bars after votes are cast are fine, but when I refresh page with poll on it, I get scrambled results bar and wrong colored width to represent certain percentage.
Please help!
Plugin Author
YOP
(@yourownprogrammer)
Hello
Please update to version 5.7.4 and let us know if you still have this issue.
Best
YOP Team
No change after update. Same problem persists.
Same weird thing. First time i get results bar are normal, percentages are displayed normal. But after I refresh result page, I can’t vote because I already voted, but results shown are different. It is as if calculation of percentage after refresh gone wrong.
In resultbar.png You can see first two results. Both had the yellow bar of same length which doesn’t make sense.
But when I manually removed comma and put point instead from percentage in Firebug, suddenly the yellow result bar came to senses.
Plugin Author
YOP
(@yourownprogrammer)
Hello
Please send us a link to your poll so we can look into this issue.
Best
YOP Team