I'm trying to format a double, such as 99928.000000 to read only 99928. I know that I could change it to an integer, but the data I'm reading in has leading 0's that integers don't pick up. Could I somehow format it to read only 99928.
String result = String.format("%f %s,%s (%1.3f; %1.3f)",zip, city, state, latitude,longitude); Current code^^ Thanks for your time.
Stringthan as adouble. You can't do arithmetic with them (I live halfway between Los Angeles and San Francisco perhaps?)