Re: float

Bryan Christ <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <1262925757.2629.30.camel@tuxdev64>
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 [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.