From 0794686d1706482ebe65667fc826f5baa8dd67d4 Mon Sep 17 00:00:00 2001 From: Marsette Vona Date: Tue, 20 Feb 2024 18:29:45 -0500 Subject: [PATCH] fix grammar in comment --- .../nasa/jpl/aerie/merlin/protocol/types/SerializedValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/SerializedValue.java b/merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/SerializedValue.java index 7da3ab6ef9..d7cf409153 100644 --- a/merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/SerializedValue.java +++ b/merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/types/SerializedValue.java @@ -147,7 +147,7 @@ public boolean equals(final Object obj) { } private BigDecimal toBigDecimal() { - //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" //converts to a BigDecimal=3.140000000000000124344978758017532527446746826171875 //but since a double can only represent up to 15 decimal digits when going from string -> double -> string //the nonzero values in the smaller decimal places are just an artifact of the representation