lgeorge123
Full Member level 2
how to display float
i have two variables float number (may be 1.28 and 15.9, note the position of decimal point), can anyone tell me how to display to lcd using keil c ???
the only one way is to convert above two float number to array of ascii and then output to lcd, more trouble is how to determine the position of decimal point, the exact method i don't know !!!! mcu i am using is 89s52.
i have two variables float number (may be 1.28 and 15.9, note the position of decimal point), can anyone tell me how to display to lcd using keil c ???
the only one way is to convert above two float number to array of ascii and then output to lcd, more trouble is how to determine the position of decimal point, the exact method i don't know !!!! mcu i am using is 89s52.