[Swift-commit] r5644 - usertools/plotter/src/plotter
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Fri Feb 17 10:54:01 CST 2012
Author: wozniak
Date: 2012-02-17 10:54:01 -0600 (Fri, 17 Feb 2012)
New Revision: 5644
Modified:
usertools/plotter/src/plotter/LineReader.java
Log:
Allow input numbers to contain commas
Modified: usertools/plotter/src/plotter/LineReader.java
===================================================================
--- usertools/plotter/src/plotter/LineReader.java 2012-02-16 22:39:47 UTC (rev 5643)
+++ usertools/plotter/src/plotter/LineReader.java 2012-02-17 16:54:01 UTC (rev 5644)
@@ -100,6 +100,7 @@
try
{
String v = tokens.get(i)[j];
+ v = v.replaceAll(",", "");
double d = Double.parseDouble(v);
result[i][j] = d;
}
More information about the Swift-commit
mailing list