Click here to Skip to main content
11,437,397 members (35,117 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

String to float conversion

, 17 Mar 2013 CPOL
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 7:34 Available André Kraak
Code Layout
1 No 3-May-12 6: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
No Biography provided

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