摘要: C语言浮点数转字符串可用库函数sprintf,此处为编写的简单函数。 小数部分最多显示六位。 pOut:输出字符串缓冲区 f:浮点数值 isize:输出字符串缓冲区大小 char * Funftoa(char *pOut,float f,unsigned char isize) { int i,iT 阅读全文
posted @ 2022-02-11 15:01 webccaa 阅读(766) 评论(0) 推荐(0) 编辑