Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
In Java, Double is both a wrapper class for primitive type double and also represents real numbers with decimal points. It provides useful methods for performing mathematical operations on these numbers.
Related terms
intValue(): This method converts a Double value into an int value.
MAX_VALUE: This constant represents the maximum finite value that can be represented by Double.
isNaN(): This method checks if a Double value is "Not-a-Number" (NaN).