[Dev-C++] Reading and printing long double values
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: André M. B. <and...@su...> - 2008-04-27 19:22:52
|
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 |