Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



How to Convert a String into Float without using any built- in library of .NET String = "123..

Answer / j.d.babu

We can Directly Assign String To the Double Object


Dim Str As String = "1235.45"
Dim Ifloat As Double = Str

Is This Answer Correct ?    6 Yes 7 No

How to Convert a String into Float without using any built- in library of .NET String = "123..

Answer / lince

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

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More ASP.NET Interview Questions

How do session tokens work?

0 Answers  


When during the page processing cycle is ViewState available?

1 Answers   Siebel Systems,


How do you pass session values from one page to another ?

4 Answers   Digital GlobalSoft,


Difference Between ReadOnly and Constant Variable in compile time and Run Time.

3 Answers   Phoenix Technologies, Quadrant,


I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'

2 Answers  


What is pre-init event in ASP.NET 2.0 page life cycle?

2 Answers   Fulcrum Logic,


what is structured data format?

2 Answers  


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

0 Answers  


How would you implement inheritance using c#?

0 Answers  


In ViewState How much lifespan items stored?

0 Answers   Siebel,


What are the main differences between asp and asp.net?

0 Answers  


What is viewstate information stored?

0 Answers  


Categories