View Single Post
  #14   Spotlight this post!  
Unread 01-07-2007, 15:19
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: C Programming Homework Help Needed

Quote:
Originally Posted by Pat McCarthy View Post
Back again!
I can't figure out how to convert a float value to a char string.
Suggestions? Thanks!
Like take value 9.023 and turn it into '9' '.' '0' '2' '3' in a char string?

Idk how you would get each number individually but to change the number into its ASCII code you would do
# + '0' to get the ascii code of the number