Skip to content

Commit

Permalink
fix incorrect line in manual change for commit
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebSLane committed Nov 22, 2023
1 parent 88dfd30 commit 42762e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public String getResultValue(Result result, String separator, boolean printable,
if (!result.getValue().contains(".")) {
value.append(".");
} else {
startFill = result.getValue().length() - result.getValue().lastIndexOf(".") - 1;
startFill = result.getValue(true).length() - result.getValue(true).lastIndexOf(".") - 1;
}

for (int i = startFill; i < significantPlaces; i++) {
Expand Down Expand Up @@ -389,7 +389,7 @@ public String getResultValueForDisplay(Result result, String separator, boolean
if (!result.getValue().contains(".")) {
value.append(".");
} else {
startFill = result.getValue().length() - result.getValue().lastIndexOf(".") - 1;
startFill = result.getValue(true).length() - result.getValue(true).lastIndexOf(".") - 1;
}

for (int i = startFill; i < significantPlaces; i++) {
Expand Down

0 comments on commit 42762e9

Please sign in to comment.