20.9
java.lang.Float
THE PACKAGE JAVA.LANG
20.9.3
public static final float NEGATIVE_INFINITY =
 1.0f/0.0f;
The constant value of this field is the negative infinity of type
float
. It is equal to
the value returned by
Float.intBitsToFloat(0xff800000)
.
20.9.4
public static final float POSITIVE_INFINITY =
1.0f/0.0f;
The constant value of this field is the positive infinity of type
float
. It is equal to
the value returned by
Float.intBitsToFloat(0x7f800000)
.
20.9.5
public static final float NaN = 0.0f/0.0f;
The constant value of this field is the Not a Number value of type
float
. It is
equal to the value returned by
Float.intBitsToFloat(0x7fc00000)
.
20.9.6
public Float(float value)
This constructor initializes a newly created
Float
 object so that it represents the
primitive value that is the argument.
20.9.7
public Float(double value)
This constructor initializes a newly created
Float
 object so that it represents the
result of narrowing ( 5.1.3) the argument from type
double
 to type
float
.
20.9.8
public Float(String s) throws NumberFormatException
This constructor initializes a newly created
Float
 object so that it represents the
floating point value of type
float
 represented by the string. The string is con 
verted to a
float
 value in exactly the manner used by the
valueOf
 method
( 20.9.17).
20.9.9
public String toString()
The primitive
float
 value represented by this
Float
 object is converted to a
string exactly as if by the method
toString
 of one argument ( 20.9.16).
Overrides the
toString
 method of
Object
 ( 20.1.2).
504






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved