Added ability for doublemodel to evaluate math expressions using exp4j, fixed typeove...
[debian/openrocket] / core / src / net / sf / openrocket / unit / FractionalUnit.java
index 26436478097049bd7f8f9928fce2408bac41fc90..5a7a9806699b6d09e31bd07f54b451ceea99291d 100644 (file)
@@ -170,7 +170,7 @@ public class FractionalUnit extends Unit {
                } else if (intPart == 0.0 ){
                        return intFormat.format(sign*frac) + "/" + intFormat.format(fracBase);
                } else {
-                       return intFormat.format(sign*intPart) + " " + intFormat.format(frac) + "/" + intFormat.format(fracBase);
+                       return intFormat.format(sign*intPart) + " " + intFormat.format(frac) + "/" + intFormat.format(fracBase);
                }
 
        }