The doubleValue()  method of Integer class returns a double value for this Integer after a widening primitive conversion.

 Syntax

public double doubleValue()

 Parameters

NA

 Specified by

This method is specified by doubleValue in class Number

 Return Value

This method returns the numeric value of this object after conversion to type double.

Example 1

Output

Example 2

Output

Example 3

Output

Pin It on Pinterest

Share This