Կաղապար:Worldpop
Արտահայտության սխալ․ չճանաչված կետադրական նշան՝ «[»։
{{#expr: {{worldpop-base}} + {{worldpop-daily-inc}} * ({{Age in days|2017|7|1}} + ({{CURRENTHOUR}}/24) + ({{CURRENTMINUTE}}/1440) + ({{CURRENTSECOND}}/86400)) round -3}}
- Looks better with commas: Արտահայտության սխալ․ չճանաչված կետադրական նշան՝ «[»։
- Present value of {{worldpop-base}} is 7 550 262 000
- Present value of {{worldpop-daily-inc}} is 227 542,14
- Updates every 1,000 increase in population
- Formatted to nearest 1,000 to reduce likelihood of display in scientific notation, and also to avoid false precision
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 | 7 551 627 252,84 | |
0 | 7 551 627 253 | |
1 | 7 551 627 250 | 7551627250 |
2 | 7 551 627 300 | 7551627300 |
3 | 7 551 627 000 | 7551627000 |
4 | 7 551 630 000 | 7551630000 |
5 | 7 551 600 000 | 7551600000 |
6 | 7 552 000 000 | 7552000000 |
7 | 7 550 000 000 | 7550000000 |
8 | 7 600 000 000 | 7600000000 |
9 | 8 000 000 000 | 8000000000 |
Data source[խմբագրել կոդը]
«World Population Prospects: The 2017 Revision» (PDF). United Nations, Department of Economic and Social Affairs, Population Division. 2017. Pages 2, 17.