Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Financial Function PMT like the one in HP 12C
Message
De
29/11/2003 11:20:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/11/2003 11:00:46
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00854353
Message ID:
00854444
Vues:
21
>Hilmar, the Payment() function is does the same, but I just discovered that the Interest Rate (i) must be divided by 100 to get the same result.

That seems logical, considering that 1% means 1/100.

In VFP, as in many other programming languages, the tendency is to use the most "natural" unit. This includes:
  • Using decimals instead of percentages.
  • For angles, using radians instead of degress.
  • For logarithms, using e (2,718...) instead of 10 as the basis.

    Greetings,

    Hilmar.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Précédent
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform