模板:Worldpop
外观
8125270000
{{#expr: {{worldpop-base}} + {{worldpop-daily-inc}} * ({{Age in days|2019|7|1}} + ({{CURRENTHOUR}}/24) + ({{CURRENTMINUTE}}/1440) + ({{CURRENTSECOND}}/86400)) round -3}}
- 用逗号更好看: 8,125,270,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,125,127,307.84 | |
0 | 8,125,127,308 | |
1 | 8,125,127,310 | 8125127310 |
2 | 8,125,127,300 | 8125127300 |
3 | 8,125,127,000 | 8125127000 |
4 | 8,125,130,000 | 8125130000 |
5 | 8,125,100,000 | 8125100000 |
6 | 8,125,000,000 | 8125000000 |
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.