From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nanakos Chrysostomos Subject: Re: float Date: Fri, 08 Jan 2010 18:47:00 +0200 Message-ID: <4B476184.9070407@wired-net.gr> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-c-programming-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: phoenixxz Cc: linux-c-programming@vger.kernel.org On 8/1/2010 18:30, phoenixxz wrote: > float i=1.34; > printf("%f",i); > > > ->> 0 > why? > -- > To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > printf("%lf",i);