convert formula to php

can anybody show me how to write this formula in php?

 M = P * ( J / (1 - (1 + J) ** -N))

markmchughAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
hieloConnect With a Mentor Commented:
$M = $P * ( $J / (1 - pow( (1 + $J), -$N ) ) );
0
 
markmchughAuthor Commented:
mistook the 1 for an I !!!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.