From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan Christ Subject: Re: float Date: Thu, 07 Jan 2010 22:42:37 -0600 Message-ID: <1262925757.2629.30.camel@tuxdev64> References: Reply-To: bryan.christ@hp.com 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" try float i=1.34F On Fri, 2010-01-08 at 16:30 +0000, 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