$('#aa').value=(a/b).toFixed(2); 转载于:https://www.cnblogs.com/axin85/p/7421327.html