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: 2 days ago @ 6:25 AM Points: 181, Visits: 536
 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, September 7, 2016 4:43 PM Points: 100, Visits: 460
 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: 2 days ago @ 6:25 AM Points: 181, Visits: 536
 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: 2 days ago @ 6:25 AM Points: 181, Visits: 536
Post #1005343
 Posted Wednesday, May 18, 2016 7:07 AM
 SSCrazy Eights Group: General Forum Members Last Login: Thursday, October 20, 2016 10:34 AM Points: 8,165, Visits: 824
 Thanks for the script.
Post #1787250
 Posted Wednesday, May 18, 2016 7:15 AM
 SSC-Enthusiastic Group: General Forum Members Last Login: 2 days ago @ 6:25 AM Points: 181, Visits: 536