1. Changing number format to NOT do Scientific Notation....ever... coderanch.comok, so ive been working on a calculator program, and if i dare exceed 1 million it puts it into scientific notation. from looking around i tried the import java.math.*; import java.text.*; thing with NumberFormat blah = new DecimalFormat(); and setting it to ("############"); and adding the blah.formatter(whatever output is here); that seems to appear everywhere i look. but after compiling ... |
2. convert scientific notation number format to normal number format coderanch.com |