fcvt - convert a floating-point number to a string
#include <stdlib.h> char *fcvt(double value, int ndigit, int *decpt, int *sign);
Refer to ecvt().