2024年4月8日

Qt格式化数字每三个一组用逗号分隔

摘要: 方法一 const QLocale& cLocale = QLocale(QLocale::Chinese, QLocale::China); QString resultString = cLocale.toString(2347823478); 方法二 auto str = QString("% 阅读全文

posted @ 2024-04-08 19:27 OctoberKey 阅读(8) 评论(0) 推荐(0) 编辑

导航