Java Float.floatToRawIntBits(float value)
Syntax
Float.floatToRawIntBits(float value) has the following syntax.
public static int floatToRawIntBits(float value)
Example
In the following code shows how to use Float.floatToRawIntBits(float value) method.
/* w w w. j ava 2 s.co m*/
public class Main {
public static void main(String[] args) {
System.out.println("Value = " + Float.floatToRawIntBits(9.0f));
}
}
The code above generates the following result.