Template:APR: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(No difference)
|
Latest revision as of 00:46, 8 December 2013
This template page or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this template page has not been edited in several days, please remove this template. This template was last edited by T12 (talk | contribs) 10 years ago. (Purge) |
This template calculates an annual percentage rate (APR) from two values some time apart.
Use
The full syntax of this template is:
{{APR|old|new|years|form=}}
Parameters
- old is the required old value.
- new is the required new value.
- years is the required number of years between the old and new values.
- form is the optional result format parameter:
- form=percent – format result as a percentage (default)
- form=real – format result as a real number
Examples
{{APR|100|170|10}} yields 4.138%
{{APR|$149,000|$185,000|4.75}} yields 2.687%
{{APR|19.86|19.24|0.25}} yields -11.915%
{{APR|245.67|312.80|1.5}} yields 17.474%
{{APR|245.67|312.80|1.5|form=real}} yields 0.17474357665668
See also
- For help with this template, please contact the assigned maintenance group.
The above documentation is transcluded from Template:APR/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |