how to cut off a string at a character js code example
Example: Remove character from end of string javascript
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);
let str = "12345.00";
str = str.slice(0, -1);
console.log(str);