In my earlier question i was printing a double using cout that got rounded when i wasn't expecting it.How can i make cout print a double using full precision?Format %lf in printf was not supported in old (pre-c99) versions of c language, which created superficial inconsistency between format specifiers for double in printf and scanf.I'm not sure why this answer suggests switching from lf to f.Lf is a perfectly appropriate format specifier for double.Moreover, it was legalized in c99 specifically to fix than annoying inconsistency between …From what i have read, a value of data type double has an approximate precision of 15 decimal places.
Prime Video: The Double
Prime Video: The Double

Prime Video: The Double of Double Lisy: They Found THIS In The Attic. It Changed Everything. .

14
By 
However, when i use a number whose decimal representation repeats, such as 1. 0/7. 0, i find tha