Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Math.sqrt()

807606Apr 20 2007 — edited Apr 20 2007
Is there another way to write this?

float fx1 = ( x1 * x1 ) * Math.sqrt ( 9 - ( x1 * x2 ) );

Math.sqrt(double) is correct but, can you not do this?
Use Float maybe?
Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 18 2007
Added on Apr 20 2007
2 comments
30 views