As the title said:
I tried:
Float.toString(float);
String.valueOf(float);
Float.toHexString(float);
float.toString();
But I found if the Float value = 100.00; Covert to String value will be 100.0. How to avoid it? How to be exactly?
Thanks in advance.
Edits-------------
The answers are point to that those which specific the decimal places.
But I found if the Float value = 100.00; If String value will be 100.0.
Confusing.