I have a String number with 6 digits after the comma:
2.024163
When I convert this number to float it returns a float number with 2 decimal places:
2.02
What I want is to return a number as it is with its 6 digits after the comma. How can I do it?
So far I have tried
Float.parseFloat(…)
Its returning 2 decimal places.