Re: float

Nanakos Chrysostomos <[email protected]>
Newsgroups gmane.linux.c-programming
Message-ID <[email protected]>
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 [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   
printf("%lf",i);
--
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.