Hi,

I'm having a problem converting a 9 character string(which contains only digits ) to a float.

I've tried using atof and typecasting to float, but end up with a number which has 7 correct digits and 2 incorrect ones.

I've also tried converting string to long int, then dividing the long int by 100 and typecasting the result as float.

Neither approach seems to work, are there any other ways I may try?

Thanks in advance,

TWHUBS