anchor.diff:                      
           
            
  -            <!-- Repetição das celulas da tabela -->
  +            <!-- Repetição das celulas da tabela -->            
  +            
                       <%for(int i=0; i<= period; i++){%>
                           <% if (i <= 0){ %>
                       <h3><tr>
  
positive.code:                       <td><h4> <%= 0 %> </h4></td>
                        <td><h4> <%= 0 %>  </h4></td>
                        <td><h4> <%= 0 %></h4></td>
                        <td><h4> <%= saldodev = vlprincipal %> </h4></td>
                         <% }else{ %>
             
                        <td><h4> <%=i%> </h4></td>
                        <td><h4> <%= taxajrsaux = ((taxajrs/100)*saldodev) %> </h4></td>
                        <td><h4> <%= parcel = (vlprincipal)/((Math.pow((1+(taxajrs/100)),period)-1)/(Math.pow((1+(taxajrs/100)),period*1))) %>  </h4></td>
                        <td><h4> <%= amorti = (-1 *(vlprincipal - parcel))%> </h4></td>
                        <td><h4> <%= saldodev = saldodev - amorti %> </h4></td>
                            
                        <% } %>
                      </h3></tr>
  
negative.code:     <link href="css/logo-nav.css" rel="stylesheet">
  	
  	<link href="css/footer-basic-centered.css" rel="stylesheet">
      </head>
      <body>
          
          <%@include file="WEB-INF/jspf/nav.jspf"%>
          
          
              <!-- VÁRIAVEIS -->
            <%
                
         
                 
          double vlprincipal = 0 ; 
          int period = 0 ;
          double taxajrs= 0;
          double taxajrsaux = 1 + (taxajrs / 100);
          double prestacao = 0;
          double juros = 0;
          double divida = 0;
          double amortizacao =0;
          double apoio = 0;
          
  
          
         
          
              try{period = Integer.parseInt(request.getParameter("periodo")); 
                  taxajrs = Double.parseDouble(request.getParameter("juros")); 
                  vlprincipal = Double.parseDouble(request.getParameter("valorprincipal")); 
              }
              catch(Exception e){}
              
  
              
              
           %>
  