Float.floatToIntBits(float value) has the following syntax.
public static int floatToIntBits(float value)
In the following code shows how to use Float.floatToIntBits(float value) method.
public class Main { public static void main(String[] args) { System.out.println("Value = " + Float.floatToIntBits(5.5f)); } }
The code above generates the following result.