Jump to content

साचा:CanPop

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

39706000

{{#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}} = 6024
  • { {#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 ३,९७,०५,५४० 39705540 ३,९७,०५,५४०
2 ३,९७,०५,५०० 39705500 ३,९७,०५,५००
3 ३,९७,०६,००० 39706000 ३,९७,०६,००० at @१,०६१.४५ per day this value will change daily
4 ३,९७,१०,००० 39710000 ३,९७,१०,०००
5 ३,९७,००,००० 39700000 ३,९७,००,०००
6 ४,००,००,००० 40000000 ४,००,००,०००
7 ४,००,००,००० 40000000 ४,००,००,०००