Template:Worldpop: Difference between revisions

From IxWiki
Jump to navigation Jump to search
wp>Meno25
update per official UN 2019 revision of World Population Prospects
 
m 1 revision imported
 
(No difference)

Latest revision as of 12:33, 12 August 2020

8159473000

{{#expr: {{worldpop-base}} + {{worldpop-daily-inc}} * ({{Age in days|2019|7|1}} + ({{CURRENTHOUR}}/24) + ({{CURRENTMINUTE}}/1440) + ({{CURRENTSECOND}}/86400)) round -3}}
  • Looks better with commas: 8,159,473,000
  • Present value of {{worldpop-base}} is 7,713,468,000
  • Present value of {{worldpop-daily-inc}} is 225,690.41
  • 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 8,159,432,250.16
0 8,159,432,250
1 8,159,432,250 8159432250
2 8,159,432,300 8159432300
3 8,159,432,000 8159432000
4 8,159,430,000 8159430000
5 8,159,400,000 8159400000
6 8,159,000,000 8159000000
7 8,160,000,000 8160000000
8 8,200,000,000 8200000000
9 8,000,000,000 8000000000

Data source

Lua error: bad argument #1 to "get" (not a valid title).