How to add two decimal numbers, having more than 18 digits, (ex: "0.12345678901234567345342343" and "-0.540811569342790340234") to all the decimal places accurately in vb.net. I tried using double datatype but it did round-off for 18 digits after decimal point. So how i can achieve this?
            Asked
            
        
        
            Active
            
        
            Viewed 764 times
        
    1
            
            
        - 
                    2Very nice explanation in [this SO post](http://stackoverflow.com/questions/1218149/arbitrary-precision-arithmetic-explanation). Enjoy! – chuff Feb 23 '13 at 09:01
1 Answers
1
            You could use Decimal data type instead. It gives you precision of 28-29 significant digits - should be enough for most needs.
 
    
    
        Victor Zakharov
        
- 25,801
- 18
- 85
- 151
