function ForDight(Dight,How) { var c=Math.pow(10,How); return Math.round(Dight*c)/c; } Dight--处理的数, How--可保留的位数 相关文章: