private decimal calcularTasaEfectivaMensual(Prestamo prestamo) { decimal i = (decimal)Math.Pow((1 + (double)prestamo.tea), 0.083f) - 1; return(Math.Round(i, 2, MidpointRounding.AwayFromZero)); }