Re: [Dev-C++] Reading and printing long double values
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Iván S. L. <iva...@gm...> - 2008-04-27 21:02:21
|
http://www.cplusplus.com/reference/clibrary/cstdio/printf.html André Macário Barros wrote: > Dear users, > > I´m having some problems trying to read/print > a long double value in C. > > Based on a documentation I´ve found, one of the > attempts was: > > ... > long double var=3.0; > ... > printf("printing a long double value-->%5.0Lg\n", var); > ... > > I´ve already tested: %LE and %LF and none of these > options worked. > > Does anybody know how to read and print? > Thanks! > > Andre > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.23.5/1400 - Release Date: 27/4/2008 > 09:39 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > |