title: How do I chop/slice/trim off last character in string using Javascript?
body: <p>I have a string, <code>12345.00</code>, and I would like it to return <code>12345.0</code>.</p>
  
  <p>I have looked at <code>trim</code>, but it looks like it is only trimming whitespace and <code>slice</code> which I don't see how this would work. Any suggestions?</p>