projects
/
debian
/
openrocket
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added ability for doublemodel to evaluate math expressions using exp4j, fixed typeove...
[debian/openrocket]
/
core
/
src
/
net
/
sf
/
openrocket
/
unit
/
FractionalUnit.java
diff --git
a/core/src/net/sf/openrocket/unit/FractionalUnit.java
b/core/src/net/sf/openrocket/unit/FractionalUnit.java
index 26436478097049bd7f8f9928fce2408bac41fc90..5a7a9806699b6d09e31bd07f54b451ceea99291d 100644
(file)
--- a/
core/src/net/sf/openrocket/unit/FractionalUnit.java
+++ b/
core/src/net/sf/openrocket/unit/FractionalUnit.java
@@
-170,7
+170,7
@@
public class FractionalUnit extends Unit {
} else if (intPart == 0.0 ){
return intFormat.format(sign*frac) + "/" + intFormat.format(fracBase);
} else {
} 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);
}
}
}
}