One of the testers on our team came by and had been tasked with verifying our Payment command is working fine.

It is, but the tester was getting numbers that did not make sense.

First, a quick tutorial on that function, which in our lingo is called a "napkin math" function.

It works like this if you have an interest rate, a number of payments and the amount you want to borrow.

Suppose you want to borrow \$1000 for 36 payments at 8% interest.

The formula looks like this:

pmt( interest rate ; number of months ; amount to borrow) = and then hitting enter or space will solve the equation.

(As a side note, I always seem to forget to use ; in the equation).

Here's what it would look like:

pmt(0.08; 36 ; 1000)=85.3446740768714

And that means you would wind up paying about \$3072 over three years for that \$1000 today:

85.34*36=3,072.24

But the numbers the tester were getting were extremely large. Her copy of OneNote was telling her that the monthly payment would be about \$8000!

I doubted there was a bug since this test is automated and passing, so a quick look revealed this formula:

pmt(8;36;1000)=8000.0

Notice the interest rate here is "8" as opposed to the "0.08" I used up top? That's the key. The interest rate Oneote uses should be between 0 and 1. .08 for 8%, .05 for 5%, .169 for 16.9%, etc…

This formula is documented in our online help here and I thought a little explanation may help.

Questions, comments, concerns and criticisms always welcome,

John