anchor.diff:              double amorti = 0;
               double prest = 0;
               int meses = 0;
  +            DecimalFormat decimal = new DecimalFormat("#0.00");
               
               try{cap = Double.parseDouble(request.getParameter("capi"));}    //try para pegar valores dos inputs
               catch(Exception e){}
  
positive.code: 
  <%@page contentType="text/html" pageEncoding="UTF-8"%>
  <!DOCTYPE html>
  <html>
  
negative.code:                 %>                
                  <tr>
                      <td><%=i%></td>
                      <td><%= decimal.format(dev) %></td>
                      <td><%= decimal.format(prest)%></td>
                      <td><%= decimal.format(juros)%></td>
                      <td><%= decimal.format(amorti)%></td>
                  </tr>
                  <%}%>
              </table><%}%>
  