2009年8月25日
摘要: //type:0: nearest // 1: rounding down // 2: rounding up // amountOld: money 数值; //type: 0 为靠近进位, 1:为下进位; 2:向上取//return: 处理后的数值 function GetNearAmount(amountOld, type) { var curChange = amountOld * 100... 阅读全文
posted @ 2009-08-25 12:45 Simon Han 阅读(540) 评论(0) 推荐(0) 编辑