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...
$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