- MIN_VALUE: It returns the smallest positive numeric value that is closest to 0, but, not the most negative number.
- NEGATIVE_INFINITY: It represents the negative infinity value.
- POSITIVE_INFINITY: It represents the positive infinity value.
- NaN: It is used for representing a value that is not a legal number.
The below examples demonstrate how these properties of the Number are used.
Maximum Value: 1.7976931348623157e+308 Minimum Value: 5e-324
Negative Infinity: -Infinity Positive Infinity: Infinity
Please Login to comment...