Merge branch '13.09dev' into feature-configtab

This commit is contained in:
kruland2607 2013-10-10 11:35:41 -05:00
commit 1d36ab5eaf
3 changed files with 3 additions and 1 deletions

View File

@ -105,6 +105,7 @@
<exclude name="Test.class" />
</fileset>
<formatter type="xml"/>
<formatter type="plain" usefile="false" />
</batchtest>
</junit>
<junitreport todir="${tmp.dir}">

View File

@ -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);

View File

@ -285,6 +285,7 @@ ${nonascii}</fail>
<exclude name="Test.class" />
</fileset>
<formatter type="xml"/>
<formatter type="plain" usefile="false" />
</batchtest>
</junit>
<junitreport todir="${tmp.dir}">