Click here to Skip to main content
13,055,408 members (53,840 online)
Click here to Skip to main content

Tagged as


Posted 27 Jan 2013

converting float type to string

, 27 Jan 2013
Convert float to string e.g. prev.ToString() but I suspect you also want it the other way around...float.TryParse(prevtxt.Text, out prev);Or prev.ToString("0.00"); if you want to format it ... try looking up the help on ToString() or look at the intellisense prompts



Compare Revision Minor Date Status Editor
2 - publicly available No 27-Jan-13 11:36 Available CHill60
additional info
1 No 27-Jan-13 11:19 Available CHill60


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior)
United Kingdom United Kingdom
Works as a Contract Developer mainly in the Financial Services sector.

"Abandon all hope of ever being understood, all ye who have a good idea but don't say it perfectly." Doug Bernard

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170713.1 | Last Updated 27 Jan 2013
Article Copyright 2013 by CHill60
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid