Bug 13403 fixed: Regression on axes labelling
[scilab.git] / scilab / modules / scirenderer / src / org / scilab / forge / scirenderer / ruler / graduations / AbstractGraduations.java
index 2d9424e..31150cb 100644 (file)
@@ -171,7 +171,7 @@ public abstract class AbstractGraduations implements Graduations {
             } else if (maxDisplayedValue >= 1e6) {
                 numberFormat = new DecimalFormat("0.##########E00");
             } else if (maxDisplayedValue < 1) {
-                numberFormat = new DecimalFormat("0.##########E00");
+                numberFormat = new DecimalFormat("0.######");
             } else {
                 numberFormat = new DecimalFormat("#,##0.####");
             }