🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9320

Re: Using SCANF with DOUBLE precision variables...

#9320
From: N.C. Hauth [Courtney]
Date: Tue, 16 Sep 1986 00:15
8 lines
760 bytes
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
Technical Details
Message-ID: <65@phuxc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!princeton!allegra!ulysses!bellcore!whuxcc!lcuxlm!akgua!akguf!phuxa!phuxc!phnch
References: <3672@brl-smoke.ARPA>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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