doubleValue

fun doubleValue(): Double

Returns the value of the specified number as a double, which may involve rounding.

Return

the numeric value represented by this object after conversion to type double.