Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interest calculation
Message
 
 
À
09/06/2009 14:09:54
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01404755
Message ID:
01404761
Vues:
79
>>Hi everybody,
>>
>>If I have an item which cost $100 and the annual interest rate is 2% and the days of interest 10, how can I calculate the actual interest cost?
>>
>>Can you give me the exact formula, please?
>
>Interest=principal*(rate*days/36500)
>
>You can go at this step by step - calculate the annual interest (principal*rate/100) then multiply that with the proportionate part of the year (days/365) but the result should be the same, save for roundoff errors happening in a different order.

What about leap years?

Also I think the interest is in actual value 0.02 (let me verify). It's Numeric 5.2, so I assume it's not in %.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform