Jump to content

साचा:CanPop

विकिपीडिया, मुक्‍त ज्ञानकोशातून

39672000

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

With Commas: ३,९६,७२,०००

{{formatnum:{{#expr:( {{CanPop}} /1000) round 0}}000}}
  • Unrounded = ३,९६,७१,५७६.८७९४५२
  • Floored = ३,९६,७१,५७६
  • { {Age in days|month1=7|day1=1|year1=2008}} = 5992
  • { {#expr: 387428/365}} = १,०६१.४४६५७५३४२५ 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 ३,९६,७१,५७७
1 ३,९६,७१,५८० 39671580 ३,९६,७१,५८०
2 ३,९६,७१,६०० 39671600 ३,९६,७१,६००
3 ३,९६,७२,००० 39672000 ३,९६,७२,००० at @१,०६१.४५ per day this value will change daily
4 ३,९६,७०,००० 39670000 ३,९६,७०,०००
5 ३,९७,००,००० 39700000 ३,९७,००,०००
6 ४,००,००,००० 40000000 ४,००,००,०००
7 ४,००,००,००० 40000000 ४,००,००,०००