Numeric Parsing Demo

image_pdfimage_print

   
 
using System;

public class NumericParsing
{
    public static void Main()
    {
        int value = Int32.Parse("99953");
        double dval = Double.Parse("1.3433E+35");
        Console.WriteLine("{0}", value);
        Console.WriteLine("{0}", dval);
    }
}
           
         
     


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