Skip to content

Commit d70bc26

Browse files
committed
fix grammar in comment
1 parent 1a2b511 commit d70bc26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/SerializedValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public boolean equals(final Object obj) {
147147
}
148148

149149
private BigDecimal toBigDecimal() {
150-
//without MathContext.DECIMAL64 then a double assigned to from a string (or code literal) "3.14"
150+
//without MathContext.DECIMAL64 then a double assigned from a string (or code literal) "3.14"
151151
//converts to a BigDecimal=3.140000000000000124344978758017532527446746826171875
152152
//but since a double can only represent up to 15 decimal digits when going from string -> double -> string
153153
//the nonzero values in the smaller decimal places are just an artifact of the representation

0 commit comments

Comments
 (0)