2016年3月28日
摘要: toFixed() returns a string, with the number written with a specified number of decimals:var x = 9.656;x.toFixed(0); // returns 10x.toFixed(2); // retu 阅读全文
posted @ 2016-03-28 18:14 各种笔记 阅读(192) 评论(0) 推荐(0) 编辑