模板:Worldpop
外观
8127334000
{{#expr: {{worldpop-base}} + {{worldpop-daily-inc}} * ({{Age in days|2019|7|1}} + ({{CURRENTHOUR}}/24) + ({{CURRENTMINUTE}}/1440) + ({{CURRENTSECOND}}/86400)) round -3}}
- 用逗号更好看: 8,127,334,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,127,158,521.53 | |
0 | 8,127,158,522 | |
1 | 8,127,158,520 | 8127158520 |
2 | 8,127,158,500 | 8127158500 |
3 | 8,127,159,000 | 8127159000 |
4 | 8,127,160,000 | 8127160000 |
5 | 8,127,200,000 | 8127200000 |
6 | 8,127,000,000 | 8127000000 |
7 | 8,130,000,000 | 8130000000 |
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.