double.Parse

image_pdfimage_print
   
  

using System;
using System.Collections.Generic;
using System.Text;

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

   
     


This entry was posted in Data Types. Bookmark the permalink.