I\'d like to convert a BigDecimal to String for printing purposes but print out all digits without scientific notation. For example:
BigDecimal
String
Bi
You want to use a DecimalFormat:
DecimalFormat
DecimalFormat df = new DecimalFormat("#.#"); String output = df .format(myBD); System.out.println(value + " " + output);