UIW: fix bug in normalized position
[scilab.git] / scilab / modules / gui / src / java / org / scilab / modules / gui / uiwidget / StringConverters.java
index ef8cd92..dea7eef 100644 (file)
@@ -664,7 +664,7 @@ public final class StringConverters {
                 String[] toks = str.split("[ ,;]");
                 for (int i = 0; i < toks.length && i < 4; i++) {
                     try {
-                        d[i] = (int) Double.parseDouble(toks[i]);
+                        d[i] = Double.parseDouble(toks[i]);
                     } catch (NumberFormatException ee) {
                         d[i] = 0;
                     }