Hi,
In a terminal program I'm writing values are inputted and stored in a pair of arrays. At one point in the program I need to print them back out.
My problem is that if I input 1.10, Java gives me 1.1. I really need it to print the zero even if its in the least significant place.
Searching around on Google suggested using DecimalFormat, but I can't get that working. Any ideas?
Thanks,
Bob.