Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

math question

Status
Not open for further replies.

youngun

Programmer
Apr 27, 2001
61
0
0
US
I tried to calculate monthly payment using Sybase but kept getting errors. Here is the formula:

p*i/[12*(1-[1+(i/12)]^-n)]

p*i = 5473.6
n = 36
i = 2.5

but i keep getting arithmetic overflow error, or truncation error when using the POWER() function. Can somebody please tell me what to do, or provide the code? Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top