FCVT(3) Library Functions Manual FCVT(3)

fcvtconvert a floating-point number to a string

#include <stdlib.h>

char *fcvt(double value, int ndigit, int *decpt, int *sign);

Refer to ecvt(3) .

February 1997 posix.fail