why does tostring stirp trainling 0 27s

Solutions on MaxInterview for why does tostring stirp trainling 0 27s by the best coders in the world

showing results for - "why does tostring stirp trainling 0 27s"
Juan Esteban
05 Sep 2018
1var n = 1.245000
2var noTrailingZeroes = n.toString()
3console.log(noTrailingZeroes) // -> 1.245