diff --git a/src/components/loan_screen/LoanDetails.jsx b/src/components/loan_screen/LoanDetails.jsx index 46ff716..5d3afa6 100644 --- a/src/components/loan_screen/LoanDetails.jsx +++ b/src/components/loan_screen/LoanDetails.jsx @@ -11,9 +11,9 @@ export default function LoanDetails({step, handleStep, screens}) {
Loan Details
Loan Amount: ₦{step.details.typedAmount}
-Interest 3%: ₦{step.details.typedAmount*0.03}
-Mgt Fee 1%: ₦{step.details.typedAmount*0.01}
-Insurance 1%: ₦{step.details.typedAmount*0.01}
+Interest 3%: ₦{Math.round((step.details.typedAmount*0.03 + Number.EPSILON) * 100) / 100}
+Mgt Fee 1%: ₦{Math.round((step.details.typedAmount*0.01 + Number.EPSILON) * 100) / 100}
+Insurance 1%: ₦{Math.round((step.details.typedAmount*0.01 + Number.EPSILON) * 100) / 100}
{`Your loan of ₦${step.details.typedAmount} would be set up. T&C's apply.`}
- +