morten 01/12/10 05:08:09
Modified: java/src/org/apache/xalan/xsltc/runtime BasisLibrary.java
Log:
Added another fix to properly convert ver small floating point numbers to
strings.
PR: bugzilla 4199
Obtained from: n/a
Submitted by: [EMAIL PROTECTED]
Reviewed by: [EMAIL PROTECTED]
Revision Changes Path
1.34 +3 -2
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/BasisLibrary.java
Index: BasisLibrary.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/BasisLibrary.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- BasisLibrary.java 2001/12/04 16:59:10 1.33
+++ BasisLibrary.java 2001/12/10 13:08:09 1.34
@@ -1,5 +1,5 @@
/*
- * @(#)$Id: BasisLibrary.java,v 1.33 2001/12/04 16:59:10 morten Exp $
+ * @(#)$Id: BasisLibrary.java,v 1.34 2001/12/10 13:08:09 morten Exp $
*
* The Apache Software License, Version 1.1
*
@@ -828,10 +828,11 @@
private static double lowerBounds = 0.001;
private static double upperBounds = 10000000;
private static DecimalFormat defaultFormatter;
- private static String defaultPattern = "####################.#########";
+ private static String defaultPattern = "";
static {
defaultFormatter = new DecimalFormat();
+ defaultFormatter.setGroupingUsed(false);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]