This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ascii to float conversion

dear friends

i would like to know how can we convert the ascii values to decimal values to perform some calculations.
my requirement is that i am receiving a six digit ascii data via com port of AT 89c52.now i have to perform some calculations with this value and send back via comport.so first i have tonvert the receiving ASCII value to a float value, then after the necessary calculations i've to convert the result again to ASCII to send via com port.can anyone provide some idea ?

sunish

0