Advertisement
ASP_Volume3 Complete Applications #45045

Loan Calculator with Extra Payments

This code shows how to calculate loan payments and amortized payments over a fixed amount of time. It allows the user to include an additional payment, either as a fixed amount of extra principal, or as a fixed payment over the P+I) It is based on an old VB 3.0 example, but improved to include the extra payment capability. It also calculates how much money is saved with the extra payment included.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Upload
<script>
function changeBG(objRow, mouseState)
{
  
  if (mouseState == 'on')
  {
  	  sColor = '#789ddc';
  }
  else if (mouseState == 'off')
  {
  	  sColor = '#FFFFFF';
  }
  
  objRow.bgColor = sColor;
}
</script>
<table cellpadding="0" cellspacing="2" align="center">
<tr onMouseOver="changeBG(this, 'on');" onMouseOut="changeBG(this, 'off');">
    <td> Col 1 Row 1 </td>
    <td> Col 2 Row 1 </td>
    <td> Col 3 Row 1 </td>
    <td> Col 4 Row 1 </td>
    <td> Col 5 Row 1 </td>
</tr>
<tr onMouseOver="changeBG(this, 'on');" onMouseOut="changeBG(this, 'off');">
    <td> Col 1 Row 2 </td>
    <td> Col 2 Row 2 </td>
    <td> Col 3 Row 2 </td>
    <td> Col 4 Row 2 </td>
    <td> Col 5 Row 2 </td>
</tr>
<tr onMouseOver="changeBG(this, 'on');" onMouseOut="changeBG(this, 'off');">
    <td> Col 1 Row 3 </td>
    <td> Col 2 Row 3 </td>
    <td> Col 3 Row 3 </td>
    <td> Col 4 Row 3 </td>
    <td> Col 5 Row 3 </td>
</tr>
</table>
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine