Returns the floating point value represented by the specified String. The string s is interpreted as the representation of a floating-point value and a Float object representing that value is created and returned. If s is null, then a NullPointerException is thrown. Leading and trailing whitespace c
(java.lang.String s)
| 249 | * , then a NumberFormatException is thrown. Otherwise, it is regarded as representing an exact decimal value in the usual "computerized scientific notation"; this exact decimal value is then conceptually converted to an "infinitely precise" binary value that is then rounded to type float by the usual round-to-nearest rule of IEEE 754 floating-point arithmetic. |
| 250 | */ |
| 251 | public static java.lang.Float valueOf(java.lang.String s) throws java.lang.NumberFormatException{ |
| 252 | return Float.parseFloat(s); |
| 253 | } |
| 254 | |
| 255 | |
| 256 | /** |