C double type
Range
Type | Range |
---|---|
double | +/-1.7E308 to +/-1.7E308 |
Example - double value
For printing double you can use %lf
.
#include <stdio.h>
main(){//from w w w.j a v a2 s .co m
double f1 = 123456789123456789.23456;
printf("%lf \n", f1);
}
The code above generates the following result.