C语言函数大全(e开头)函数名: ecvt功能: 把一个浮点数转换为字符串用法: char ecvt(double value, int ndigit, int *decpt, int *sign);程序例:#include#include#includeint main(void)char *string;double value;int dec, sign;int ndig = 10;clrscr();value = 9.876;string = ecvt(value, ndig, &dec, &sign);printf(string = %s dec = %d sign = %dn, string, dec, sign);value = -123.45;ndig= 15;string = ecvt(value,ndig,&dec,&sign);printf(string = %s dec = %d sign = %dn,string, dec, sign);valu