getEmiAmount function
Implementation
getEmiAmount(String totalAmount, String interestRate, int tenure) {
double parsedAmount = double.parse(totalAmount);
return getMonthlyEMI(parsedAmount, Decimal.parse(interestRate), tenure);
}
getEmiAmount(String totalAmount, String interestRate, int tenure) {
double parsedAmount = double.parse(totalAmount);
return getMonthlyEMI(parsedAmount, Decimal.parse(interestRate), tenure);
}