Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!caip!princeton!allegra!ulysses!bellcore!whuxcc!lcuxlm!akgua!akguf!phuxa!phuxc!phnch From: phnch@phuxc.UUCP (N.C. Hauth [Courtney]) Newsgroups: net.lang.c Subject: Re: Using SCANF with DOUBLE precision variables... Message-ID: <65@phuxc.UUCP> Date: Mon, 15-Sep-86 20:15:14 EDT Article-I.D.: phuxc.65 Posted: Mon Sep 15 20:15:14 1986 Date-Received: Wed, 17-Sep-86 03:37:29 EDT References: <3672@brl-smoke.ARPA> Organization: AT&T Technologies/Bell Labs, Atlanta Lines: 8 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