摘要: const toFixed = ( dight, bits = 3 ) => { return Math.round( dight * Math.pow( 10, bits ) ) / Math.pow( 10, bits ) } export default { toFixed } 阅读全文
posted @ 2017-05-11 11:25 slardarr 阅读(1615) 评论(0) 推荐(0) 编辑