قالب:PAGR

Template documentation[view] [edit] [history] [purge]

Per Annum Growth Rate

Usage

{{PAGR|first year|first population|second year|second population}}

This template calculates the per annum compound growth rate given two pairs of years and populations (or other time periods and units) using:

where and are the populations in the first () and second () year.

To add positive sign and color, add |color=true.

Examples

  • {{PAGR|1980|110043|1990|180288}} → "5٫06%"
  • {{PAGR|1969|4534252|1997|3928542}} → "−0٫51%"
  • {{PAGR|color=true|1980|110043|1990|180288}} → "خطأ في التعبير: علامة ترقيم لم نتعرف عليها «٫».5٫06%خطأ في التعبير: علامة ترقيم لم نتعرف عليها «٫»."
  • {{PAGR|color=true|1969|4534252|1997|3928542}} → "خطأ في التعبير: علامة ترقيم لم نتعرف عليها «٫».−0٫51%خطأ في التعبير: علامة ترقيم لم نتعرف عليها «٫»."
  • {{PAGR|color=true|1969|4534252|1997|4534252}} → "خطأ في التعبير: علامة ترقيم لم نتعرف عليها «�».0�00%خطأ في التعبير: علامة ترقيم لم نتعرف عليها «�»."

See also