Re: Calculation assistance.. :)
| From: | Lupus Michaelis | Date: | Sat, 20 Sep 2008 17:17:45 +0000 |
| Subject: | Re: Calculation assistance.. :) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-280573@lists.php.net to get a copy of this message | ||
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 :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$nMonthlyInterest = $nRate / (12 * 100)