We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae99f9f commit 0794686Copy full SHA for 0794686
merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/SerializedValue.java
@@ -147,7 +147,7 @@ public boolean equals(final Object obj) {
147
}
148
149
private BigDecimal toBigDecimal() {
150
- //without MathContext.DECIMAL64 then a double assigned to from a string (or code literal) "3.14"
+ //without MathContext.DECIMAL64 then a double assigned from a string (or code literal) "3.14"
151
//converts to a BigDecimal=3.140000000000000124344978758017532527446746826171875
152
//but since a double can only represent up to 15 decimal digits when going from string -> double -> string
153
//the nonzero values in the smaller decimal places are just an artifact of the representation
0 commit comments