Calling BigDecimal.toString

(CR #441516) Calling the JDK 1.5 toString command for a BigDecimal datatype returns the string representation of the BigDecimal value, using scientific notation if an exponent is needed. For example, if you call:

toString(new BigDecimal(“0.000000000000000001”))

The return value is “1E-18.” This behavior change is documented by Sun.

Workaround: To return a string representation of a BigDecimal without an exponent, call toPlainString instead of toString.