title: JavaScript: Decimal Values
body: <p>What can I use as a decimal type in JavaScript? It's not supported (<code>0.1 + 0.2 !== 0.3</code>), and I need it for representing exact values in a banking/financial application. See <em><a href="https://www.youtube.com/watch?v=V1_Y-KVhZ9Q" rel="nofollow noreferrer">The State and Future of JavaScript</a></em> for a good read and the dirty details behind JavaScript and it's (lack of) support for decimal arithmetic.</p>
  
  <p>By "decimal", I mean either:</p>
  
  <ol>
  <li>infinite-range and arbitrary-precision (like <code>BigDecimal</code> in Java), or</li>
  <li>limited range and precision, but suitable for financial calculations (like <code>decimal</code> in C#).</li>
  </ol>
  
  <p>So, what library or solution exists for working with decimal values? Thanks!</p>