数字转中文
无
<div class="">请输入数字</div>
<input id="num" type="text" class="" placeholder="请输入数字" value="">
<button class="" onclick="enter()">确定</button>
<div class="">结果</div>
<input id="reast" type="text" class="">
function enter() {
var num = document.getElementById("num").value;
var realNum = $numTurnChinese.numToChinese(num);
document.getElementById("reast").value = realNum;
}
输入的必须为数字,字符串会无效