Full Version : Float to ASCII Conversion (GCC)
avr >>C PROGRAMMING (AVR) >>Float to ASCII Conversion (GCC)


Admin5- 04-15-2006
Float to ASCII without print

fGeneric C routine that will output ASCII reprentation of floating point value in either fixed (123.456) or Scientific notation (1.23456E2). Precision (number of digits) can be changed.

Does not use printf, a buffer or huge amounts of stack space.

V2 - correct bug that omitted (wrong) leading zeros



Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.