| ??? 07/29/06 17:40 Read: times |
#121318 - float conversion specifier on a long Responding to: ???'s previous message |
Eugene Yong said:
. . char LCD_Buffer[8]; . . long test; . . test = 12.34; sprintf(LCD_Buffer, "%.2f", test); LCD_Print(LCD_Buffer); . . but the LCD only shows up a string of ????? (garbage) so i think there must be some sort of mistake that i made. Can you point out what the mistake i had probably made? Oops, the format routine is decoding a long as a float. |
| Topic | Author | Date |
| Interger to Array and Buffer question | 01/01/70 00:00 | |
| Answers | 01/01/70 00:00 | |
| While theoritically it should works... | 01/01/70 00:00 | |
| float conversion specifier on a long | 01/01/70 00:00 | |
| Alright | 01/01/70 00:00 | |
what is that, never heard of it | 01/01/70 00:00 |



