Difference between revisions of "Template:Inflation"

From Emulation General Wiki
Jump to navigation Jump to search
m (Revise 2021 estimate.)
m
Line 64: Line 64:
 
{{#ifexpr:((2020 >= {{{3}}}) and (2020 < {{{4|{{CURRENTYEAR}}}}}))|* 1.06 }}
 
{{#ifexpr:((2020 >= {{{3}}}) and (2020 < {{{4|{{CURRENTYEAR}}}}}))|* 1.06 }}
 
}} <!-- End inflation tables -->
 
}} <!-- End inflation tables -->
) round {{{r|0}}}}}|[[NaN]]}}|[[NaN]]}} in {{CURRENTYEAR}} money">${{{2}}}</abbr></includeonly><noinclude>
+
 
 
Displays a product's price as well as a server-side computation of an inflation-adjusted version in United States Dollars. The data is taken from [https://data.worldbank.org/indicator/fp.cpi.totl.zg the World Bank], and can only go as far back as 1959. The output is rounded to the nearest dollar.
 
Displays a product's price as well as a server-side computation of an inflation-adjusted version in United States Dollars. The data is taken from [https://data.worldbank.org/indicator/fp.cpi.totl.zg the World Bank], and can only go as far back as 1959. The output is rounded to the nearest dollar.
  

Revision as of 04:00, 14 February 2024