Domanda

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 ?

È stato utile?

Soluzione

Or use the ** operator

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

Altri suggerimenti

Use the power or intpower function.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top