Click here to Skip to main content
12,403,418 members (68,939 online)
Click here to Skip to main content

Tagged as

Stats

10.4K views
Posted

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

You may also be interested in...

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