Author: jleroux
Date: Thu Oct 8 13:43:11 2009
New Revision: 823175
URL:
http://svn.apache.org/viewvc?rev=823175&view=revLog:
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