 | Discussion Forum |  |
|
|
float to asciiNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Omar Ospina Posted 14-Jul-2006 22:41 GMT Toolset C51 |  float to ascii Omar Ospina Dear colleages, I would like to know if there is some one on earth that have a routine to convet a number from float to ascii. I want to show a float point number on a display of 16x2.
An example would be perfect
Thanks
OE | | Read-Only Author Dan Henry Posted 14-Jul-2006 23:38 GMT Toolset C51 |  RE: float to ascii Dan Henry If you own C51, you've got the sprintf() routine at your disposal. Read up on it. | | Read-Only Author Neil Kurzman Posted 15-Jul-2006 07:05 GMT Toolset C51 |  RE: float to ascii Neil Kurzman modulus 10 divide by 10 repeat | | Read-Only Author Satish Munot Posted 15-Jul-2006 07:46 GMT Toolset C51 |  RE: float to ascii Satish Munot mod 10 /10 is ok but do don't forget to add 0x30 | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|