Click here to Skip to main content
13,045,979 members (46,485 online)
Click here to Skip to main content

Tagged as

Stats

12.9K views
Posted 3 May 2012

String to float conversion

, 17 Mar 2013
Hello,Could you please let me know how to convert string to float without using standard functions, like atoi, atof, strtod, sscanf etc.My code is:main(){ char inputstr[]="123.45"; float result= 0.0F; float temp; int ndecimaldigit,i; ndecimaldigit = 1; ...

Revisions


  

Compare Revision Minor Date Status Editor
2 No 17-Mar-13 1:34 Available André Kraak
Code Layout
1 No 3-May-12 0:24 Available Member 8647682

License

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

Share

About the Author

Member 8647682
United States United States
This member doesn't quite have enough reputation to be able to display their biography and homepage.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170713.1 | Last Updated 17 Mar 2013
Article Copyright 2012 by Member 8647682
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid