char temp[16];
sprintf(temp, "%i.%i", temperature/10,temperature%10); //
printf("===温度==%s==\r\n",temp);
拼接字符串,格式化数字等
猜你喜欢
转载自blog.csdn.net/qq_25430563/article/details/89058311
今日推荐
周排行