1 2 3 4 5 6 7 8 9
char * gcvt(value, digits, buff) double value; int digits; char *buff; { sprintf(buff, "%*g", digits, value); return (buff); }