Changed Unit.toString to use 0.### format for pretty small numbers ( 0.0005 < . ...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 20 Apr 2012 18:54:47 +0000 (18:54 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Fri, 20 Apr 2012 18:54:47 +0000 (18:54 +0000)
commit6ebe203fc0189c34e89878e2538f23580ddf1282
treef3cc2b6057370cbe2178b955c54fc6b22659e8b0
parent98d31d6efb78bf9d9c726bbe358668f434fab267
Changed Unit.toString to use 0.### format for pretty small numbers ( 0.0005 < . < 0.095).  Modified the unit test to have explicit tests for rounding to the correct value at the correct position (for round to even rule).

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@579 180e2498-e6e9-4542-8430-84ac67f01cd8
core/src/net/sf/openrocket/unit/Unit.java
core/test/net/sf/openrocket/unit/UnitToStringTest.java