I am trying to print a double value. It is printing in matissa and exponent format, which is not what I want. For example, my program prints 1.234567E6 for the value 1243567. How can I make it print 1234657?
I am trying to print a double value. It is printing in matissa and
Share
You might look into the NumberFormat class and the DecimalFormat.