BigDecimal.floatValue

BigDecimal.floatValue

Class Overview | Class Members | This Package | All Packages

Syntax
public float floatValue()
Description
Converts this number to a float. 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 float, it will be converted to infinity or negative infinity, as appropriate.

Overrides
floatValue in class Number