remove two last charcter of a value javascript code example
Example: javascript remove last character from string
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);