64
Java Short doubleValue() Method
The doubleValue() method of Java Short class will return the value of this Short object as a double.
Syntax
Parameters
N/A
Return value
The doubleValue()method returns numeric double value corresponding to this Short object
Example 1: (With Positive Value)
Output:
Returned double Value of Short object is = 500.0
Example 2: (With Negative Value)
Output:
Returned double Value of Short object is = -200.0
Next TopicJava Short