Stephen Johnson a écrit :
OK.. Math is NOT my forte ...
I am converting a site from ASP to PHP ... And this calc is in the ASP Code
:
$nMonthlyInterest = $nRate / (12 * 100)
Wow, that's rather not good. Learn about
<http://en.wikipedia.org/wiki/Geometric_progression>.
Because :
12 % of 100 is 12
but if you get 1 % each month :
1 % of 100 the first month
1 % of 99 the second month
etc.
so it will be less than 12.
--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php