Js 数字,科学计数互转
摘要:
function toNonExponential(num) {let x = num.toExponential()console.log(x)var m = num.toExponential().match(/\d(?:\.(\d*))?e([+-]\d+)/);return num.toFi 阅读全文
posted @ 2022-11-10 11:46 芊芊一隅 阅读(65) 评论(0) 推荐(0) 编辑