Thanks & Regards, Software Engineer, Pradeep Kumar
sudarshan.c
int i = 1; double d = Convert.ToDouble(i); Console.WriteLine(d); string num = "4"; double d1 = Double.Parse(num); Console.WriteLine(d1); string j = "1"; double f = Convert.ToDouble(j); Console.WriteLine(f); // Error // int z = 1; // double d2 = Double.Parse(z); // Console.WriteLine(d2);
gowthaman8870226416
Regards, Lakshmi Naraayanan.S http://dotnettechrocks.blogspot.in/ http://abaprocker.blogspot.com/
I want to assign to a variable in my code and assignt this to that variable. double Number1= (double)Txt_Number1.text; Error I want to assign to a variable in my code and assignt this to that variable. double Number1= (double)Txt_Number1.text;
Life is a Race Thanks & Regards By Sabari Mahesh P M
Login to post response