Edited my question:
what is best way to extract number that is coming after the decimal places. I tried few solutions, but it not going to help me
float n = 67.7345f;
System.out.println(n % 1);
System.out.println(n - Math.floor(n));
System.out.println(n - (int)n);
here is the output:
0.7344971
0.7344970703125
0.7344971
But I want the exact 7345
Any best way to get the exact number after decimal point?