Удалите Zeros Zeros javascript
var n = 6.96900
var noTrailingZeroes = n.toString()
console.log(noTrailingZeroes) // -> 6.969
COoDiE Monsta
var n = 6.96900
var noTrailingZeroes = n.toString()
console.log(noTrailingZeroes) // -> 6.969