1let str = "12345.00";
2str = str.substring(0, str.length - 1);
3console.log(str);
1/* JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.
2While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. */
1JavaScript, often abbreviated as JS, is a programming language that conforms
2to the ECMAScript specification.
3JavaScript is high-level, often just-in-time compiled, and multi-paradigm.
4It has curly-bracket syntax, dynamic typing, prototype-based object-orientation,
5and first-class functions.