How to Convert a String into Float without using any built-
in library of .NET
String = "1235.45" needs to converted to a float

Answer Posted / lince

string str = "555.67";
double a;
a=Convert.ToDouble (str);

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

509


What are the navigation ways between pages available in ASP.NET?

575


Who generates session id?

497


What is mvc in angular?

565


What is data reader in asp.net?

507






What is rich control in asp.net?

531


What is connection pooling and how to enable and disable connection pooling?

488


What is content page in asp net?

509


How can we update records in gridview?Is there any appropriate code for it?

1608


Explain what is viewstate?

551


What is new asp.net core?

577


Explain diff. Between friend and protected friend?

506


What is the difference between mvc and asp.net? : Asp.Net MVC

482


What is postback in asp net?

568


Explain the steps to be followed to use passport authentication.

599