Suppose you have a double number say Double d = 12.123223800000
.
How can we find length of number from decimal point till the end including all trailing zeroes in it.
Double d = 12.123223800000;
String t = d.toString();
Here it's removing all the trailing zeroes from double number.