Share via


BigDecimal.doubleValue

Class Overview | Class Members | This Package | All Packages

Syntax

public double doubleValue()

Description

Converts the number to a double. Similar to the double-to-float narrowing primitive conversion defined in The Java Language Specification: if the number has too great a magnitude to represent as a double, it will be converted to infinity or negative infinity, as appropriate.

Overrides

doubleValue in class Number