diff --git a/core/build.xml b/core/build.xml
index 819548e25..bc94e848c 100644
--- a/core/build.xml
+++ b/core/build.xml
@@ -105,6 +105,7 @@
+
diff --git a/core/src/net/sf/openrocket/unit/Unit.java b/core/src/net/sf/openrocket/unit/Unit.java
index a0522c2ba..75931d050 100644
--- a/core/src/net/sf/openrocket/unit/Unit.java
+++ b/core/src/net/sf/openrocket/unit/Unit.java
@@ -104,7 +104,7 @@ public abstract class Unit {
val = roundForDecimalFormat(val);
// Check for approximate integer
- if (Math.abs(val - Math.floor(val)) < 0.001) {
+ if (Math.abs(val - Math.floor(val)) < 0.0001) {
return intFormat.format(val);
}
return decFormat.format(val);
diff --git a/swing/build.xml b/swing/build.xml
index 748b52946..53afdf087 100644
--- a/swing/build.xml
+++ b/swing/build.xml
@@ -285,6 +285,7 @@ ${nonascii}
+