You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2011/07/19 15:33:30 UTC

svn commit: r1148312 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java

Author: erans
Date: Tue Jul 19 13:33:29 2011
New Revision: 1148312

URL: http://svn.apache.org/viewvc?rev=1148312&view=rev
Log:
MATH-622
Increased the number of digits to output.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java?rev=1148312&r1=1148311&r2=1148312&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java Tue Jul 19 13:33:29 2011
@@ -52,7 +52,7 @@ public class CompositeFormat {
      */
     public static NumberFormat getDefaultNumberFormat(final Locale locale) {
         final NumberFormat nf = NumberFormat.getInstance(locale);
-        nf.setMaximumFractionDigits(2);
+        nf.setMaximumFractionDigits(8);
         return nf;
     }