How to format double into string in c++?

前端 未结 0 530
遥遥无期
遥遥无期 2020-12-13 05:53

I want to convert double into string with %.5f format. But with sprintf I need to declare array of chars, convert it and delete the whitespaces and then convert to string. I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题