Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 System V version 3.0 08-Feb-86; site simon_pc.UUCP Path: utzoo!decvax!decwrl!amdcad!lll-crg!lll-lcc!simon_pc!simon From: simon@simon_pc.UUCP (Simon Shapiro) Newsgroups: net.sources.bugs Subject: Problem with Lattice C 2.15 Message-ID: <147@simon_pc.UUCP> Date: Thu, 27-Feb-86 23:50:09 EST Article-I.D.: simon_pc.147 Posted: Thu Feb 27 23:50:09 1986 Date-Received: Sat, 1-Mar-86 05:01:53 EST Distribution: na Organization: S*H & Company, Walnut Creek, California Lines: 20 Keywords: Help!!!! I need help with the following 'program': #include main() { double test; test = 1234567.981; printf("Test of double value %7.2f\n", test); } It runs fine on SV but produces the line "...value 7.2f" when compiled on a PC clone with Lattice C version 2.15. Am I doing something wrong or is this a bug? I tried the same with sprintf() but the same results. Any mailed help will be greatly appreciated. Simon Shapiro (voice = +1 415 933 9468) ...ihnp4!quantel!lll-crg!lll-lcc!simon_pc!simon