QString与int,double之间的转换

1 QString number(long n, int base = 10)
2 QString number(ulong n, int base = 10)
3 QString number(int n, int base = 10)
4 QString number(uint n, int base = 10)
5 QString number(qlonglong n, int base = 10)
6 QString number(qulonglong n, int base = 10)
7 QString number(double n, char format = 'g', int precision = 6)

https://www.cnblogs.com/love-me-love-my-code/p/5324679.html

发布了115 篇原创文章 · 获赞 20 · 访问量 36万+

猜你喜欢

转载自blog.csdn.net/u014683488/article/details/103931354