Log in  ::  Register  ::  Not logged in

 Recent PostsRecent Posts Popular TopicsPopular Topics
 Home Search Members Calendar Who's On

 Flexable Rate Recursion Rate Topic Display Mode Topic Options
Author
 Message
 Posted Thursday, October 14, 2010 8:16 PM
 SSC-Enthusiastic Group: General Forum Members Last Login: Thursday, November 17, 2016 11:59 AM Points: 181, Visits: 537
 Comments posted to this topic are about the item Flexable Rate Recursion
Post #1004868
 Posted Friday, October 15, 2010 9:28 AM
 SSC-Enthusiastic Group: General Forum Members Last Login: Wednesday, November 30, 2016 1:50 PM Points: 100, Visits: 465
 Perhaps I'm missing something, but couldn't this be solved with some math? That is, if I have a rate to be applied a certain number of times, then I use p*(r**n) (i.e. r raised to the n power), where p is the principal, r is the rate, and n is the number of times to apply that rate.
Post #1005299
 Posted Friday, October 15, 2010 10:15 AM
 Old Hand Group: General Forum Members Last Login: Wednesday, February 6, 2013 6:12 PM Points: 381, Visits: 185
 Plus you spelled flexible incorrectly.
Post #1005339
 Posted Friday, October 15, 2010 10:16 AM
 SSC-Enthusiastic Group: General Forum Members Last Login: Thursday, November 17, 2016 11:59 AM Points: 181, Visits: 537
 Greetings Ben,Yes, you are correct. However, I did not know that algorithm so I could not apply it. Instead I came up with a different solution. Your way would definitely work faster too as it requires less steps to be applied, even if it was kept in the function so it could include the error checking.
Post #1005340
 Posted Friday, October 15, 2010 10:19 AM
 SSC-Enthusiastic Group: General Forum Members Last Login: Thursday, November 17, 2016 11:59 AM Points: 181, Visits: 537
 Greetings Laura,Yep! My bad.
Post #1005343
 Posted Wednesday, May 18, 2016 7:07 AM
 SSCrazy Eights Group: General Forum Members Last Login: 2 days ago @ 6:45 AM Points: 8,328, Visits: 858
 Thanks for the script.
Post #1787250
 Posted Wednesday, May 18, 2016 7:15 AM
 SSC-Enthusiastic Group: General Forum Members Last Login: Thursday, November 17, 2016 11:59 AM Points: 181, Visits: 537
 Greetings Iwas,I hope that it is able to help you.
Post #1787262

 Permissions