Yes, there is a solution to your problem. You have to use the scanf with a long float. For example: sscanf(line,"%*1d %1d %6lf\n",&division_1,&dc1); Happy Hunting. Courtney