All you need is a string:
float test = 42.5F;
String convertFloatToString = Convert.ToString(test);
Console.WriteLine(convertFloatToString);
More Related Contents:
- Binding a WPF ComboBox to a custom list
- Creating Scheduled Tasks
- Best practice to return errors in ASP.NET Web API
- Convert Rtf to HTML [closed]
- Concat all strings inside a List using LINQ
- C# version of java’s synchronized keyword?
- Why should I use IHttpActionResult instead of HttpResponseMessage?
- process.start() arguments
- .NET Asynchronous stream read/write
- Client is unauthorized to retrieve access tokens using this method Gmail API C#
- Reference type still needs pass by ref?
- How can I get a count of the total number of digits in a number?
- HTML agility pack – removing unwanted tags without removing content?
- When should I create a new DbContext()
- c# – How to iterate through classes fields and set properties
- EF 6 Parameter Sniffing
- Perform screen-scape of Webbrowser control in thread
- Changing datagridview cell color dynamically
- multiple awaits vs Task.WaitAll – equivalent?
- Why can’t Double be implicitly cast to Decimal
- Reading an int that’s updated by Interlocked on other threads
- Set environment variables for a process
- how to solve Exception:Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)) in C#?
- Fluent NHibernate, working with interfaces
- Bold text in MessageBox
- Setting a proxy for Chrome Driver in Selenium
- Running an asynchronous operation triggered by an ASP.NET web page request
- iTextSharp Password Protected PDF
- Xamarin iOS memory leaks everywhere
- How do I use Selenium in C#?