Se my reply to your previous thread - in general it's best to stick to
one thread, so that people don't waste time with the same answer(s) that
have already been given.
In article <
[email protected]>,
AF <bscinc3000@Yahoo_NoSpam.com> wrote:
> Let me rephrase this since my previous post looks too wordy.
>
> If something costs me $150 per day, let's call that DailyCost, what
> will it cost in 20 years, let's call that TimePeriod, at an inflation
> rate of 5%, let's call that InflationRate, per year.
>
> Forget the other parts of the formula. Ther will just confuse the
> issue.
>
> If I were to calculate this in a programming language, it would look
> like this:
>
>
> DailyCost=150
> TimePeriod=20
> InflationRate= 1.05
> NewDailyCost = DailyCost
>
> Counter=1 for control purposes
>
> do while Counter <=TimePeriod
> NewDailyCost=(NewDailyCost*1.05)
> Counter=Counter+1
> enddo
>
> show NewDailyCosts
>
> I can not figure out how to do this. I know it is simple, but I can
> not find it in the help section.
>
> Thanks for any tips.
>
>
> Best regards,
>
> Al
> http://www.affordablefloridainsurance.com
> http://www.americanbestmortgages.com
Bookmarks