title: Are there any good JavaScript currency or decimal classes?
body: <p>I am trying to deal with JavaScript values such as <code>23.45</code>, but I want to be able to do mathematical operations on these values (addition, subtraction, multiplication, division) without running into floating point issues. Yes, I might need to round the results sometimes, but I would like it to give reasonable answers.</p>
  
  <p>Consider this in JavaScript:</p>
  
  <pre><code>24.56 * .3
  </code></pre>
  
  <p>Yields</p>
  
  <pre><code>7.36799999999
  </code></pre>
  
  <p>I would like it to come out with <code>7.368</code>.</p>
  
  <p>Most languages have either a decimal or currency data type to deal with this. Has anyone built a class that can handle this sort of data effectively, or is there any other solution for dealing with these sorts of numbers without having to constantly adjust for floating point errors?</p>