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
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 |
Answer / lince
string str = "555.67";
double a;
a=Convert.ToDouble (str);
| Is This Answer Correct ? | 1 Yes | 4 No |
Can you use Web API with ASP.NET Web Form?
How to call a child form method from the master page?
Advantage of data Reader?
What are all the ways to find out types of objects?
What is Partial in ASP.NET 2.0?
Explain the concept of MVC Scaffolding?
What are the different methods that are used during the page load?
What is the difference between a default skin and a named skin?
What is AutoPostback?
Why would a company use an application service provider?
Is asp.net a programming language or framework?
What is session in asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)