https://sarkarverse.org/index.php?title=Template:APR/doc&feed=atom&action=historyTemplate:APR/doc - Revision history2024-03-28T14:03:42ZRevision history for this page on the wikiMediaWiki 1.39.0https://sarkarverse.org/index.php?title=Template:APR/doc&diff=14383&oldid=prevT12: 1 revision2013-12-08T00:46:48Z<p>1 revision</p>
<p><b>New page</b></p><div>{{documentation subpage}}<br />
{{construction}}<br />
This template calculates an annual percentage rate (APR) from two values some time apart.__NOTOC__<br />
<br />
==Use==<br />
The full syntax of this template is:<br />
<tt><nowiki>{{APR|old|new|years|form=}}</nowiki></tt><br />
<br />
===Parameters===<br />
*<tt>old</tt> is the required old value.<br />
*<tt>new</tt> is the required new value.<br />
*<tt>years</tt> is the required number of years between the old and new values.<br />
*<tt>form</tt> is the optional result format parameter:<br />
**<tt>form=percent</tt> – format result as a percentage (default)<br />
**<tt>form=real</tt> – format result as a real number<br />
<br />
==Examples==<br />
<tt><nowiki>{{APR|100|170|10}}</nowiki></tt> yields {{APR|100|150|10}}<br/><br />
<tt><nowiki>{{APR|$149,000|$185,000|4.75}}</nowiki></tt> yields {{APR|149000|169000|4.75}}<br/><br />
<tt><nowiki>{{APR|19.86|19.24|0.25}}</nowiki></tt> yields {{APR|19.86|19.24|0.25}}<br/><br />
<tt><nowiki>{{APR|245.67|312.80|1.5}}</nowiki></tt> yields {{APR|245.67|312.80|1.5}}<br/><br />
<tt><nowiki>{{APR|245.67|312.80|1.5|form=real}}</nowiki></tt> yields {{APR|245.67|312.80|1.5|form=real}}<br/><br />
<br />
==See also==<br />
*For help with this template, please contact the {{MG|1}}.<br />
<includeonly><br />
{{DEFAULTSORT:APR}}<br />
[[Category:Financial function templates]]<br />
[[Category:Mathematical function templates]]<br />
[[Category:Wikipedia formatting and function templates]]<br />
</includeonly></div>T12