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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is query string? What are its advantages and limitations?

516


How does exception management works in ASP.NET?

623


How can you send an email message from an asp.net web page?

529


What is a web based system?

469


How does a web application session work?

563






Can we store object in viewstate?

541


What is the difference between session and viewstate?

520


What are the steps involved to fill a dataset?

560


What is the function used for removing an event listener?

553


Please briefly explain the usage of global.asax?

542


Can we have 2 web config files?

549


Write a code for passing ArrayList in Web API?

1061


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

1670


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

548


Which method do you use to enforce garbage collection in .net?

522