You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/10/08 15:43:11 UTC

svn commit: r823175 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java

Author: jleroux
Date: Thu Oct  8 13:43:11 2009
New Revision: 823175

URL: http://svn.apache.org/viewvc?rev=823175&view=rev
Log:
Fix a recursive bug

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java?rev=823175&r1=823174&r2=823175&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java Thu Oct  8 13:43:11 2009
@@ -170,7 +170,7 @@
      */
     public static String formatPercentage(BigDecimal percentage) {
         if (percentage == null) return "";
-        return formatPercentage(percentage);
+        return percentageDecimalFormat.format(percentage);
     }
 
     /** Formats a double representing a percentage into a string