Parsing strings to create data types : Double parse : Data Type C# Examples


C# Examples » Data Type » Double parse »

 

Parsing strings to create data types









    
using  System;

class  MainClass
{
        public  static  void  Main(string[]  args)
        {
        double  myDbl  =  double.Parse("99.884");
        Console.WriteLine("->  Value  of  myDbl:  {0}",  myDbl);
        }
}
    
   
  
   



Output

-> Value of myDbl: 99.884


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Double parse