قالب:CanPop
40164000
{{#expr: 33739859 + 417627/365 * {{Age in days|month1=7|day1=1|year1=2009}} round -3}}
With Commas: 40,164,000
{{formatnum:{{#expr:( {{CanPop}} /1000) round 0}}000}}
- Unrounded = 40,164,449.69863
- Floored = 40,164,449
- { {Age in days|month1=7|day1=1|year1=2009}} = 5615
- { {#expr: 417627/365}} = 1,144.1835616438 people/day
- | url=http://www.statcan.gc.ca/ig-gi/pop-ca-eng.htm
- | title=Canada's population clock
- | publisher=Statistics Canada
- | date=2009-12-14
- | accessdate=2010-01-26
- | format=source code
- | quote=StartDate=new Date(2009, 6, 1); StartPop=33739859; EndDate=new Date(2010, 6, 1); EndPop=34157486
- | note= 34,157,486 - 33,739,859 = 417,627; 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 | 40,164,450 | |||
1 | 40,164,450 | 40164450 | 40,164,450 | |
2 | 40,164,400 | 40164400 | 40,164,400 | |
3 | 40,164,000 | 40164000 | 40,164,000 | at @1,144.18 per day this value will change daily |
4 | 40,160,000 | 40160000 | 40,160,000 | |
5 | 40,200,000 | 40200000 | 40,200,000 | |
6 | 40,000,000 | 40000000 | 40,000,000 | |
7 | 40,000,000 | 40000000 | 40,000,000 |