A very simple amount is converted to uppercase letters
邓
2019-10-26 13:32:55
0
0
1177

<!doctype html>

<html>

##<head>

<meta charset="UTF-8" />

<title>Amount converted to uppercase letters</title>

</head>

<body>

<div>

<h2>Amount converted to uppercase letters</h2>

<lable for="amount">Please enter the amount: ¥</lable>

< input id="amount" type="text" />

&am;

<script type="text/javascript">

function change(){

var money=document.getElementById("amount").value;

document.getElementById("demo").innerHTML=toCapitalization(money);

}

function toCapitalization(money){

var capitalization="";

    var unitInt="整";

if(isAmount(money)){

if(money==parseInt(money)){

var l=getlength(money);

if(l>=10){

capitalization="您输入的金额过大!";

}else{

capitalization

str=str getNumber(nums[i]) getUnit(l-i-1,k);

}

}else{

for(i=0;i<len;i ){

str=str getNumber(nums[i]) getUnit(i,k);

}

}

return str;

}

</script>

</body>

</html>

邓

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template