Skip to content

Commit 7d6c4c1

Browse files
committed
Serialize BigDecimal using toString() instead of toPlainString().
Closes #1468.
1 parent c6fa4ee commit 7d6c4c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/couchbase/core/convert/OtherConverters.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public enum BigDecimalToString implements Converter<BigDecimal, String> {
100100

101101
@Override
102102
public String convert(BigDecimal source) {
103-
return source == null ? null : source.toPlainString();
103+
return source == null ? null : source.toString();
104104
}
105105
}
106106

0 commit comments

Comments
 (0)