From fea79bc3892e55ac257411e3ccbb1332ed857d65 Mon Sep 17 00:00:00 2001 From: MayFairMI6 <143886061+MayFairMI6@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:36:09 +0800 Subject: [PATCH] Update InputParser.java --- src/main/java/seedu/spendswift/parser/InputParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/seedu/spendswift/parser/InputParser.java b/src/main/java/seedu/spendswift/parser/InputParser.java index 96d751965..8e1c9988c 100644 --- a/src/main/java/seedu/spendswift/parser/InputParser.java +++ b/src/main/java/seedu/spendswift/parser/InputParser.java @@ -84,7 +84,7 @@ public double parseLimit(String input) { try { // Parse the limit string into double double limit = Double.parseDouble(limitStr); - final double quadrillion = 1000000000000000.0; + final double quadrillion = 1000000000000000.0; // Assertion to ensure the limit does not exceed 1 quadrillion assert limit <= quadrillion: "Limit exceeds 1 quadrillion, capping to 1 quadrillion";