We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi I'm trying to convert a double number in scinetific notation into a string of 4 characters. I have written this code
char result[4]; double corr; sprintf(result,"e", corr);
corr is a decimal number in scientific notation, i have to send this 4 characters to a LCD display, but result variable don't seems to change from value 0x40000020. I use the realview compiler from keil. Please help me Regards Luca
... a string of 4 characters. I have written this code:
char result[4];
How many characters does 'C' require for a string of four characters...?