📜  为什么 tostring Stirp trainling 0's - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:24.391000             🧑  作者: Mango

代码示例1
var n = 1.245000
var noTrailingZeroes = n.toString()
console.log(noTrailingZeroes) // -> 1.245