最新存款利息计算器源码程序.docx

上传人:b****1 文档编号:1151996 上传时间:2023-04-30 格式:DOCX 页数:22 大小:66.87KB
下载 相关 举报
最新存款利息计算器源码程序.docx_第1页
第1页 / 共22页
最新存款利息计算器源码程序.docx_第2页
第2页 / 共22页
最新存款利息计算器源码程序.docx_第3页
第3页 / 共22页
最新存款利息计算器源码程序.docx_第4页
第4页 / 共22页
最新存款利息计算器源码程序.docx_第5页
第5页 / 共22页
最新存款利息计算器源码程序.docx_第6页
第6页 / 共22页
最新存款利息计算器源码程序.docx_第7页
第7页 / 共22页
最新存款利息计算器源码程序.docx_第8页
第8页 / 共22页
最新存款利息计算器源码程序.docx_第9页
第9页 / 共22页
最新存款利息计算器源码程序.docx_第10页
第10页 / 共22页
最新存款利息计算器源码程序.docx_第11页
第11页 / 共22页
最新存款利息计算器源码程序.docx_第12页
第12页 / 共22页
最新存款利息计算器源码程序.docx_第13页
第13页 / 共22页
最新存款利息计算器源码程序.docx_第14页
第14页 / 共22页
最新存款利息计算器源码程序.docx_第15页
第15页 / 共22页
最新存款利息计算器源码程序.docx_第16页
第16页 / 共22页
最新存款利息计算器源码程序.docx_第17页
第17页 / 共22页
最新存款利息计算器源码程序.docx_第18页
第18页 / 共22页
最新存款利息计算器源码程序.docx_第19页
第19页 / 共22页
最新存款利息计算器源码程序.docx_第20页
第20页 / 共22页
亲,该文档总共22页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

最新存款利息计算器源码程序.docx

《最新存款利息计算器源码程序.docx》由会员分享,可在线阅读,更多相关《最新存款利息计算器源码程序.docx(22页珍藏版)》请在冰点文库上搜索。

最新存款利息计算器源码程序.docx

最新存款利息计算器源码程序

上传一个个人存款利息计算器的jsp源代码,经过调试可以正常使用了,php的空间即可。

界面如下,网络预览XX搜索www.lilv.cc。

尊重知识版权,请勿随便转载,请注明出处。

附录2个人存款计算器jsp源代码

<%@pagelanguage="java"pageEncoding="GBK"%>

DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http:

//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

//www.w3.org/1999/xhtml">

</p><p>个人存款计算器</p><p>

functionperSaving(){

varamount=document.per_form.amountTextBox.value

varyrate=document.per_form.yRateTextBox.value

varterm=document.per_form.termTextBox.value

if(amount==""){alert("请输入存款金额!

")

document.per_form.amountTextBox.focus()

window.event.returnValue=false;

return

}

if(yrate==""){

alert("请输入年利率或选择期限种类!

")

document.per_form.yRateTextBox.focus()

window.event.returnValue=false;

return

}

if(term==""){

alert("请输入存期!

")

document.per_form.termTextBox.focus()

window.event.returnValue=false;

return

}

if(isNaN(amount)){

alert("请输入数字!

")

document.per_form.amountTextBox.focus()

window.event.returnValue=false;

return

}

if(isNaN(yrate)){

alert("请输入数字!

")

document.per_form.yRateTextBox.focus()

window.event.returnValue=false;

return

}

if(isNaN(term)){

alert("请输入数字!

")

document.per_form.termTextBox.focus()

window.event.returnValue=false;

return

}

vartaxrate=0.00;

varinterest=amount*yrate*term*0.01/12

vartax=taxrate*amount*yrate*term*0.01/12

varresult=amount*(1+(1-taxrate)*yrate*term*0.01/12)

interest=Math.round(interest*100)

interest=interest/100

interest=interest+""

document.per_form.interestTextBox.value=interest

tax=Math.round(tax*100)

tax=tax/100

tax=tax+""

document.per_form.taxTextBox.value=tax

result=Math.round(result*100)

result=result/100

result=result+""

document.per_form.resultTextBox.value=result

window.event.returnValue=false;

}

functioncheckTerm(){

varduring=document.per_form.duringDropDownlist.value

varcurrencyDropDownList=document.per_form.currencyDropDownList.value

if(currencyDropDownList=="人民币"){

if(during=="活期"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="0.5000";

}

if(during=="通知存款一天"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="0.9500";

}

if(during=="通知存款七天"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="1.4900";

}

if(during=="整存整取三个月"){

document.per_form.termTextBox.value="03";

document.per_form.yRateTextBox.value="3.1000";

}

if(during=="整存整取半年"){

document.per_form.termTextBox.value="06";

document.per_form.yRateTextBox.value="3.3000";

}

if(during=="整存整取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="3.5000";

}

if(during=="整存整取二年"){

document.per_form.termTextBox.value="24";

document.per_form.yRateTextBox.value="4.4000";

}

if(during=="整存整取三年"){

document.per_form.termTextBox.value="36";

document.per_form.yRateTextBox.value="5.0000";

}

if(during=="整存整取五年"){

document.per_form.termTextBox.value="60";

document.per_form.yRateTextBox.value="5.5000";

}

if(during=="零存整取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="3.1000";

}

if(during=="零存整取三年"){

document.per_form.termTextBox.value="36";

document.per_form.yRateTextBox.value="3.3000";

}

if(during=="零存整取五年"){

document.per_form.termTextBox.value="60";

document.per_form.yRateTextBox.value="3.5000";

}

if(during=="整存零取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="3.1000";

}

if(during=="整存零取三年"){

document.per_form.termTextBox.value="36";

document.per_form.yRateTextBox.value="3.3000";

}

if(during=="整存零取五年"){

document.per_form.termTextBox.value="60";

document.per_form.yRateTextBox.value="3.5000";

}

if(during=="零存零取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="3.1000";

}

if(during=="零存零取三年"){

document.per_form.termTextBox.value="36";

document.per_form.yRateTextBox.value="3.3000";

}

if(during=="零存零取五年"){

document.per_form.termTextBox.value="60";

document.per_form.yRateTextBox.value="3.5000";

}

if(during=="存本取息一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="3.1000";

}

if(during=="存本取息三年"){

document.per_form.termTextBox.value="36";

document.per_form.yRateTextBox.value="3.3000";

}

if(during=="存本取息五年"){

document.per_form.termTextBox.value="60";

document.per_form.yRateTextBox.value="3.5000";

}

}

if(currencyDropDownList=="美元"){

if(during=="活期"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="0.1000";

}

if(during=="整存整取一个月"){

document.per_form.termTextBox.value="01";

document.per_form.yRateTextBox.value="0.2500";

}

if(during=="整存整取三个月"){

document.per_form.termTextBox.value="03";

document.per_form.yRateTextBox.value="0.5000";

}

if(during=="整存整取半年"){

document.per_form.termTextBox.value="06";

document.per_form.yRateTextBox.value="0.7500";

}

if(during=="整存整取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="1.2500";

}

if(during=="整存整取二年"){

document.per_form.termTextBox.value="24";

document.per_form.yRateTextBox.value="1.2500";

}

}

if(currencyDropDownList=="英镑"){

if(during=="活期"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="0.1250";

}

if(during=="整存整取一个月"){

document.per_form.termTextBox.value="01";

document.per_form.yRateTextBox.value="0.2180";

}

if(during=="整存整取三个月"){

document.per_form.termTextBox.value="03";

document.per_form.yRateTextBox.value="0.8050";

}

if(during=="整存整取半年"){

document.per_form.termTextBox.value="06";

document.per_form.yRateTextBox.value="0.9760";

}

if(during=="整存整取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="1.0760";

}

if(during=="整存整取二年"){

document.per_form.termTextBox.value="24";

document.per_form.yRateTextBox.value="1.0760";

}

}

if(currencyDropDownList=="欧元"){

if(during=="活期"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="0.1000";

}

if(during=="整存整取一个月"){

document.per_form.termTextBox.value="01";

document.per_form.yRateTextBox.value="0.7500";

}

if(during=="整存整取三个月"){

document.per_form.termTextBox.value="03";

document.per_form.yRateTextBox.value="1.0000";

}

if(during=="整存整取半年"){

document.per_form.termTextBox.value="06";

document.per_form.yRateTextBox.value="1.1250";

}

if(during=="整存整取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="1.2500";

}

if(during=="整存整取二年"){

document.per_form.termTextBox.value="24";

document.per_form.yRateTextBox.value="1.3125";

}

}

if(currencyDropDownList=="日元"){

if(during=="活期"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="0.0001";

}

if(during=="整存整取一个月"){

document.per_form.termTextBox.value="01";

document.per_form.yRateTextBox.value="0.0100";

}

if(during=="整存整取三个月"){

document.per_form.termTextBox.value="03";

document.per_form.yRateTextBox.value="0.0100";

}

if(during=="整存整取半年"){

document.per_form.termTextBox.value="06";

document.per_form.yRateTextBox.value="0.0100";

}

if(during=="整存整取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="0.0100";

}

if(during=="整存整取二年"){

document.per_form.termTextBox.value="24";

document.per_form.yRateTextBox.value="0.0100";

}

}

if(currencyDropDownList=="港币"){

if(during=="活期"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="0.0200";

}

if(during=="整存整取一个月"){

document.per_form.termTextBox.value="01";

document.per_form.yRateTextBox.value="0.1500";

}

if(during=="整存整取三个月"){

document.per_form.termTextBox.value="03";

document.per_form.yRateTextBox.value="0.4000";

}

if(during=="整存整取半年"){

document.per_form.termTextBox.value="06";

document.per_form.yRateTextBox.value="0.5000";

}

if(during=="整存整取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="0.8000";

}

if(during=="整存整取二年"){

document.per_form.termTextBox.value="24";

document.per_form.yRateTextBox.value="1.1000";

}

}

if(currencyDropDownList=="加拿大元"){

if(during=="活期"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="0.0400";

}

if(during=="整存整取一个月"){

document.per_form.termTextBox.value="01";

document.per_form.yRateTextBox.value="0.2165";

}

if(during=="整存整取三个月"){

document.per_form.termTextBox.value="03";

document.per_form.yRateTextBox.value="0.3915";

}

if(during=="整存整取半年"){

document.per_form.termTextBox.value="06";

document.per_form.yRateTextBox.value="0.5100";

}

if(during=="整存整取一年"){

document.per_form.termTextBox.value="12";

document.per_form.yRateTextBox.value="0.7315";

}

if(during=="整存整取二年"){

document.per_form.termTextBox.value="24";

document.per_form.yRateTextBox.value="0.7315";

}

}

if(currencyDropDownList=="瑞士法郎"){

if(during=="活期"){

document.per_form.termTextBox.value="";

document.per_form.yRateTextBox.value="0.0001";

}

if(during=="整存整取一个月"){

document.per_form.termTextBox.value="01";

document.per_form.yRateTextBox.value="0.0100";

}

if(during=="整存整取三个月"){

document.per_form.termTextBox.value="03";

document.per_form.yRateTextBox.value="0.0100";

}

if(during=="整存整取半年"){

document.per_form.termTextBox.value="06";

document.per_form.yRateTextBox.v

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 人文社科 > 法律资料

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2