参考网址: https://www.jb51.net/article/134067.htm 参考网址: http://www.w3school.com.cn/jsref/jsref_tofixed.asp