javascript remove trailing zeros code example
Example: remove trailing zeros javascript
var n = 6.96900
var noTrailingZeroes = n.toString()
console.log(noTrailingZeroes) // -> 6.969
var n = 6.96900
var noTrailingZeroes = n.toString()
console.log(noTrailingZeroes) // -> 6.969