Template:Per annum growth rate/doc

From testwiki
Jump to navigation Jump to search

Template:Documentation subpage Template:Tsh Template:TOC right

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:

PAGR=[(P2P1)1t2t11]×100%

where P1 and P2 are the populations in the first (t1) and second (t2) year.

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

Examples

See also