How do I convert the float value of 12345.12346f to a String of binary values, i.e. \"0011010101010101\", and vice-versa?
Working sample:
class F { public static void main( String ... args ) { System.out.println( Integer.toBinaryString( Float.floatToIntBits(12345.12346f) ) ); } }
Output:
1000110010000001110010001111110