Question

K = (S * (P/100/12)) / (1 - (1 + (P/100/12))^(-Y*12)) 

where S, P, and Y are input.

How to get the K value in Free Pascal ?

Was it helpful?

Solution

Or use the ** operator

This one isn't implemented/overloaded by default, but unit math does it for integer and float

OTHER TIPS

Use the power or intpower function.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top