साँचा:CanPop

मुक्त ज्ञानकोश विकिपीडिया से

39415000

{{#expr: 33311389 + 387428/365 * {{Age in days|month1=7|day1=1|year1=2008}} round -3}} 

With Commas: 3,94,15,000

{{formatnum:{{#expr:( {{CanPop}} /1000) round 0}}000}}
  • Unrounded = 3,94,14,706.808219
  • Floored = 3,94,14,706
  • { {Age in days|month1=7|day1=1|year1=2008}} = 5750
  • { {#expr: 387428/365}} = 1,061.4465753425 people/day
  • | url=http://www.statcan.ca/english/edu/clock/population.htm
  • | title=Canada's population clock
  • | publisher=Statistics Canada
  • | date=2008-12-15
  • | accessdate=2009-01-01
  • | format=source code
  • | quote=StartPop = 33311389; EndPop = 33698817; StartDate = new Date(2008, 6, 1); EndDate = new Date(2009, 6, 1)
  • | note= 33,698,817 - 33,311,389 = 387,428; 2 dates are 365 days apart


  • This automatically updates ONCE per day at 00:00 UTC (possibly 01:00 UTC during daylight savings) & rounds to nearest hundred.
  • At 0:00 UTC-5 Canada's population clock & this clock will have same value to nearest 100
    • In 2007, I corrected for this time zone difference, but other people kept changing it.
    • Since the discrepancy is minor, I have not bothered this year.
    • No calculation for daylight savings here - depends on wiki server
    • Canada pop clock does correct for daylight savings
    • Canada pop clock actually counts backwards to enddate, so at 00:00 UTC-5 there may be a discrepancy of 1 person
  • An estimate with any more sig figs can only be either false precision or extremely temporary.
  • Please do not change formula without discussing on talk page.
  • Rounding any further SOMETIMES (unpredictably) results in scientific notation. Having 5 zeroes at end seems to be the issue.
    • { {#expr: 12300000}} => 1.23E+7
    • { {#expr: 123400000}} => 1.234E+8
    • { {#expr: 1234500000}} => 1.2345E+9
    • { {#expr: 12345600000}} => 1.23456E+10
    • { {#expr: 123456700000}} => 1.234567E+11
    • { {#expr: 1230000}} => 1230000
    • { {#expr: 12340000}} => 12340000
    • { {#expr: 123450000}} => 123450000
    • { {#expr: 1234560000}} => 1234560000
    • { {#expr: 12345670000}} => 12345670000


Places
rounded
to
result "textified" with commas
0 3,94,14,707
1 3,94,14,710 39414710 3,94,14,710
2 3,94,14,700 39414700 3,94,14,700
3 3,94,15,000 39415000 3,94,15,000 at @1,061.45 per day this value will change daily
4 3,94,10,000 39410000 3,94,10,000
5 3,94,00,000 39400000 3,94,00,000
6 3,90,00,000 39000000 3,90,00,000
7 4,00,00,000 40000000 4,00,00,000