JavaScript toPrecision() 方法和toExponential()

用来处理科学计数法转换以及指数运算类问题

https://www.runoob.com/jsref/jsref-toexponential.html

https://www.runoob.com/jsref/jsref-toprecision.html

原文地址:https://www.cnblogs.com/baixiaoxiao/p/10929787.html