Contact: aviboots(AT)netvision.net.il
43,946 questions
57,360 answers
573 users
let str = "457833.8591000"; str = str.replace(/0+$/, ''); console.log(str); /* run: 457833.8591 */