This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
尊敬的所有人:
我想将浮点型转换为字符串型。 现在、我将浮点型转换为整数型、并使用 sprintf 函数。
sprintf (随机、"%d"、p_results_1);
我已经使用了"%g"和"%f"、但它不起作用。
他们是否有任何方法来实现这一点?
谢谢。
此致
Neal