32 bits value to ASCII conversion
| Name | 32TOASCII.C |
| Revision | V1.1 - September 21st, 2002 |
| Code size | 156 bytes with Keil V5.50 compiler |
| Needed RAM size | 18 bytes |
I've wrote this code to display up to 32 bits decimal values with dot on a LCD or to send it on UART
When invoking the function, you sends the value to display, the number of integer digits and the number of decimal digits. So you can if needed display non significant zeros. When the decimal parameter is not 0, the dot is displayed.
You can download the code here (ZIP, 1Kb)