commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1148312 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/CompositeFormat.java
Date Tue, 19 Jul 2011 13:33:30 GMT
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;
     }
 



Mime
View raw message