قالب:CanPop
39684000
{{#expr: 33311389 + 387428/365 * {{العمر بالأيام|month1=7|day1=1|year1=2008}} round -3}}
With Commas: 39٬684٬000
{{formatnum:{{#expr:( {{CanPop}} /1000) round 0}}000}}
- Unrounded = 39٬684٬314٫238356
- Floored = 39٬684٬314
- { {Age in days|month1=7|day1=1|year1=2008}} = 6004
- { {#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 | 39٬684٬314 | |||
1 | 39٬684٬310 | 39684310 | 39٬684٬310 | |
2 | 39٬684٬300 | 39684300 | 39٬684٬300 | |
3 | 39٬684٬000 | 39684000 | 39٬684٬000 | at @1٬061٫45 per day this value will change daily |
4 | 39٬680٬000 | 39680000 | 39٬680٬000 | |
5 | 39٬700٬000 | 39700000 | 39٬700٬000 | |
6 | 40٬000٬000 | 40000000 | 40٬000٬000 | |
7 | 40٬000٬000 | 40000000 | 40٬000٬000 |