diff --git a/src/main/java/seedu/address/model/order/Price.java b/src/main/java/seedu/address/model/order/Price.java index ff4d4482d49..d96ed23743f 100644 --- a/src/main/java/seedu/address/model/order/Price.java +++ b/src/main/java/seedu/address/model/order/Price.java @@ -50,7 +50,7 @@ private double truncateToTwoDecimalPlaces(double value) { @Override public String toString() { - return String.format("%.2f", value); + return String.format("%.2f", value + 0.0); } @Override