Question : vb.net Insert comma every 3 characters

Hello folks, I need your help with something easy but I dont know how to do it.
I've this number 1000000 and I want to convert it to: 1000000 or 500000 to 500.000

Thanks for your help

Answer : vb.net Insert comma every 3 characters

It should also work:

C# :
         
            int num = 1004055000;
           string s = num.ToString("#,###");


VB.NET :

            Dim number As Integer = 100055034
            Dim s As String = number.ToString("#,###")

Random Solutions  
 
programming4us programming4us