Template:Per capita/doc

Calculate per capita value, given a statistic (e.g., GDP), population, country, and year.

Usage
1=

Parameters
There are four required unnamed parameters, and one optional:


 * 1 – a number representing a currency-denominated statistic like GDP (without commas), and denominated in local currency. Alias: num.
 * 2 – population figure (without commas). Alias: pop.
 * 3 – either the full name of the country, e.g., 'Canada', or the ISO 3166-1 alpha-3 code ('CAN'). Alias: country.
 * 4 – four-digit year, in the range recognized by Template:To USD (last checked: 1960–2022). Alias: year.
 * 5 – scale factor of the statistic, expressed as a power of 10; i.e., if param 1 is GDP in millions, then scale = . Optional; default = (billions). Alias: scale.

Examples
1=


 * 1) note slight difference in value due to effects of rounding from a lower scale factor