I have a program where I am calculating large distances. I then convert the distance (a double) using stringfromnumber to get the commas inserted (i.e. 1,234,567). This works
You can check you're own float.h for DBL_MAX to find out. I got a value of 1.797693e+308 from:
float.h
DBL_MAX
#include #include int main ( void ) { printf("Max double %e \n", DBL_MAX); return 0; }