GCVT(3) Library Functions Manual GCVT(3)

gcvtconvert a floating-point number to a string

#include <stdlib.h>

char *gcvt(double value, int ndigit, char *buf);

Refer to ecvt(3) .

February 1997 posix.fail