convert string to double
        Posted  
        
            by James123
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by James123
        
        
        
        Published on 2010-05-07T19:23:02Z
        Indexed on 
            2010/05/07
            19:28 UTC
        
        
        Read the original article
        Hit count: 285
        
I have string value in that I need to convert to double in VB.Net. Conditions are like below
string = "12345.00232232"
if condition is 3 (2 digits after decimal and comma)
 display = 12,345.00
if condition is 5 (5 digits after decimal and comma)
display = 12,345.00232
If Condition is 7 ( 5 digits after decimal and no comma)
display = 12345.00232
How can I do that in VB.Net?
© Stack Overflow or respective owner