This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Double,Math Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Double,Math" Watch "Double,Math" New topic


Ranch Hand

Joined: Aug 03, 2000
Posts: 169
Can some one please add to this...
Input round() ceil() floor()
Double.Nan 0 Nan Nan
Double.NEGATIVE_INFINITY Long.MIN_VALUE - Infinity -Infinity
Double.POSITIVE_INFINITY Long.MAX_VALUE Infinity Infinity
-0.01 0 -0.0 -1.0
- Thanks
jQuery in Action, 2nd edition
subject: Double,Math
Similar Threads
In which occasion will a statement return a value of NaN ?
Division by zero double
K&B Master Exam SCJP6 class mineral question: why is the answer 'null null'
Float.NaN == Float.NaN
Rules Roundup - answer wrong?