Precise Financial Calculation in JavaScript. What Are the Gotchas?
        Posted  
        
            by Cirrostratus
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Cirrostratus
        
        
        
        Published on 2010-05-20T18:04:37Z
        Indexed on 
            2010/05/20
            19:10 UTC
        
        
        Read the original article
        Hit count: 277
        
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!
© Stack Overflow or respective owner