From: "Igor Bujna" Organization: Maxi-tip a.s. To: djgpp AT delorie DOT com Date: Wed, 18 Apr 2001 18:20:19 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Atof Message-ID: <3ADDDAE3.29499.112013C@localhost> X-Confirm-Reading-To: "Igor Bujna" X-pmrqc: 1 X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp AT delorie DOT com Hi, i have this problem with atof(); char *buf = "-21.345\0"; float f = 0; f = atof ( buf ); printf("%f",f); , then i have this "-21.344999". What i must to do for it will be OK. Thank you