Review feedback from @gregtatcam: readability

This commit is contained in:
Ed Hennis
2025-11-23 23:14:26 -05:00
parent dd5464d921
commit 76766e93df

View File

@@ -1653,7 +1653,7 @@ loanMakePayment(
Number totalPaid;
std::size_t numPayments = 0;
while (amount >= totalPaid + periodic.totalDue &&
while ((amount >= (totalPaid + periodic.totalDue)) &&
paymentRemainingProxy > 0 &&
numPayments < loanMaximumPaymentsPerTransaction)
{