I am trying to reproduce the following javascript equation on blackberry Java.
Unfortunately JDE Java does not appear to have a natural logarithmic function. I have been working with
Real - Java floating point library for MIDP devices, but can't quite figure it out. Also not sure if this is best solution. Please advise...
PHP Code:
$z = -0.004444058 - ($f1 * 0.056239137) + ($d2 * 0.724267143);
$p =100* 1/(1+exp(-$z));
$p = round($p,1);
see www . real-java.sourceforge.net/Real.htm