Float.valueOf

Float.valueOf

Class Overview | Class Members | This Package | All Packages

Syntax
public static Float valueOf( String s ) throws NumberFormatException
Parameters
s
the string to be parsed.
Returns
a newly constructed Float initialized to the value represented by the String argument.
Description
Returns the floating point value represented by the specified String.

Exceptions
NumberFormatException if the string does not contain a parsable number.