模板:Worldpop
8121679000
{{#expr: {{worldpop-base}} + {{worldpop-daily-inc}} * ({{Age in days|2019|7|1}} + ({{CURRENTHOUR}}/24) + ({{CURRENTMINUTE}}/1440) + ({{CURRENTSECOND}}/86400)) round -3}}
- 用逗号更好看: 8,121,679,000
- 当前{{worldpop-base}}的值为7,713,468,000
- 当前{{worldpop-daily-inc}}的值为225,690.41
- 人口每增加1000更新一次
- 四舍五入至千位
Regarding rounding
- if rounded to nearest 100-thousand, will often display in scientific notation
- if round ends in 5 zeroes, there is an intermittent sci notation problem
- This CAN happen even if the number is rounded to 0 places - IF the number ends in 5 zeroes
- results are inconsistent, seemingly dependent on which server renders the numbers
Places rounded to |
result | "textified" |
---|---|---|
none | 8,121,516,261.28 | |
0 | 8,121,516,261 | |
1 | 8,121,516,260 | 8121516260 |
2 | 8,121,516,300 | 8121516300 |
3 | 8,121,516,000 | 8121516000 |
4 | 8,121,520,000 | 8121520000 |
5 | 8,121,500,000 | 8121500000 |
6 | 8,122,000,000 | 8122000000 |
7 | 8,120,000,000 | 8120000000 |
8 | 8,100,000,000 | 8100000000 |
9 | 8,000,000,000 | 8000000000 |
数据来源
Total Population - Both Sexes. World Population Prospects, the 2019 Revision. United Nations Department of Economic and Social Affairs, Population Division, Population Estimates and Projections Section. June 2019.