Newsgroups: comp.sys.mac.programmer Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!june.cs.washington.edu!chou From: chou@cs.washington.edu (Pai Chou) Subject: Bug with THINK C 4.0 scanf()? Message-ID: <1991Apr30.081412.8116@beaver.cs.washington.edu> Originator: chou@june.cs.washington.edu Sender: news@beaver.cs.washington.edu (USENET News System) Organization: Computer Science & Engineering, U. of Washington, Seattle Distribution: na Date: Tue, 30 Apr 91 08:14:12 GMT I am having a problem with THINK C's scanf for doubles. For example, if I scan in a double like 0.0258, I get back 0.258 -- it seems that the leading zeros are ignored. Is anybody else having the same problem? Does anyone know a fix? I am using version 4.0. Is it fixed in the upgrade? Thanks Pai Chou chou@june.cs.washington.edu