# 民意调查百分比不准确！

**URL:** https://meta.discourse.org/t/poll-percentage-inaccuracy/384254
**Category:** Bug
**Tags:** polls
**Created:** [2025年九月29日 08:29 UTC](https://meta.discourse.org/t/poll-percentage-inaccuracy/384254 "2025-09-29T08:29:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gassim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gassim/32/220910_2.png) [@gassim](https://meta.discourse.org/u/gassim)
#### Post date: [2025年九月29日 08:29 UTC](https://meta.discourse.org/t/poll-percentage-inaccuracy/384254/1 "2025-09-29T08:29:17Z")

</div>

你好！

我们在论坛上进行了一项投票，让会员选择聚会主题，我注意到百分比计算不正确。

有五个选项，只有三个人投票，但百分比显示为“34%”、“33%”、“33%”，0,0。为什么一个选项只有一个选民，与其他两个选项一样，却显示34%？

这是截图：

[![image](https://global.discourse-cdn.com/meta/original/4X/8/f/7/8f7745b0c72339d456571291eea5c32aab40e983.png)](https://community.dhis2.org/t/announcing-the-first-lmis-and-supply-chain-meetup-help-us-choose-the-topic/67885)

我不知道我们是否可以重现这一点，因为它需要限制为每人一票，但这是代码：

```plaintext
[poll type="regular" results="always" public="true" name="lmis-poll-1" chartType="bar" dynamic="true"]
# **您对哪个 LMIS 主题最感兴趣？**

* 将集成到 RTS（实时库存）应用程序的批次/有效期管理功能（来自科摩罗实施的演示）
* 回顾新发布的 WHO NTD 指南和 DHIS2 LMIS 演示实例
* 与中央 eLMIS 的工作流集成
* 预览与冷链设备工具相关的温度监控集成
* 我将回复我的建议
[/poll]

```

_Poll ([view on site](https://meta.discourse.org/t/poll-percentage-inaccuracy/384254/1))_

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [2025年九月29日 09:53 UTC](https://meta.discourse.org/t/poll-percentage-inaccuracy/384254/2 "2025-09-29T09:53:05Z")

</div>

我认为这最可能的原因是100不能被3整除，会得到33.333333333…%。所以它有2个33%（总共66%），最后一个是34%。

是的，它在这里的Meta上也有。

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/9/4/f94c52271ee06c957cf527cf5a1b598212d40644.png)

---

<div class="post-metadata">

### Author: ![gassim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gassim/32/220910_2.png) [@gassim](https://meta.discourse.org/u/gassim)
#### Post date: [2025年九月29日 10:35 UTC](https://meta.discourse.org/t/poll-percentage-inaccuracy/384254/3 "2025-09-29T10:35:04Z")

</div>

谢谢！是的，我明白，但如果这是一个竞赛投票，必须有一个获胜者（或平局），但在这里，我们将随机选择一个人作为获胜者，而不是平局。
