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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

jleroux@apache.org
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