anchor.diff:               int t=10;
                int v=0;
                int i=0;
  +             DecimalFormat decimal = new DecimalFormat("#0.00");
                try{
                    t = Integer.parseInt(request.getParameter("t"));
                    v = Integer.parseInt(request.getParameter("v"));
  
positive.code: 
  <%@page contentType="text/html" pageEncoding="UTF-8"%>
  <!DOCTYPE html>
  <html>
  
negative.code:                  <td>Total de juros </td>
                   <td>Valor a pagar </td>
               </tr>
               <th style="color: #ff0000">R$ <%= decimal.format(t*v*i*0.01) %></th>
               <th style="color: #ff0000">R$ <%= decimal.format((t*v*i*0.01)+v) %></th>
           </table>
           </div>
      <%@include file="WEB-INF/footer.jspf"%>
  