Notation « Number Format « Java Data Type Q&A





1. Changing number format to NOT do Scientific Notation....ever...    coderanch.com

ok, 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 ...