Math.round(0.145 * 100)Math.round(0.135 * 100)這個(gè)2個(gè)返回值竟然是一樣的
js中對(duì)小數(shù)取整 Math.round 方法
慕工程0101907
2019-01-29 15:30:48