title: Precise Financial Calculation in JavaScript. What Are the Gotchas?
body: <p>In the interest of creating cross-platform code, I'd like to develop a simple financial application in JavaScript. The calculations required involve compound interest and relatively long decimal numbers. I'd like to know what mistakes to avoid when using JavaScript to do this type of math—if it is possible at all! </p>