Hi,<div><br></div><div>I don't understand why this doesn't work:</div><div><br></div><div>(jcall (jmethod "java.lang.Math" "sqrt") 4.0)</div><div><br></div><div>The error I get is:</div><div><br>
</div><div>No such method: java.lang.Math.sqrt()</div><div><br></div><div>Also, this works:</div><div><br></div><div><div>CL-USER> (jcall (jmethod "java.lang.Float" "intValue") 4.0)</div><div>4</div>
</div><div><br></div><div>but when I try this:</div><div><br></div><div>(jcall (jmethod "java.lang.Float" "compare") 4.0 5.0)</div><div><br></div><div>I get:</div><div><br></div><div>No such method: java.lang.Float.compare()</div>
<div><br></div><div>I'm not sure if this is the correct forum for these questions. If there's a better place to ask them let me know. Thanks,</div><div><br></div><div>-Dave</div>