Skip to content

Commit

Permalink
Update InputParser.java
Browse files Browse the repository at this point in the history
  • Loading branch information
MayFairMI6 authored Nov 12, 2024
1 parent 23a7c2d commit fea79bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/seedu/spendswift/parser/InputParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit fea79bc

Please sign in to comment.