>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)