当前位置:网站首页>QT qstring:: number apply base conversion
QT qstring:: number apply base conversion
2022-07-03 09:28:00 【Ice V Che】
long a = 63;
QString s = QString::number(a, 16); // s == "3f"
QString t = QString::number(a, 16).toUpper(); // t == "3F"
// Support formats :long, int, uint, ulong, qlonglong, quint8,quint16,quint32
// turn 10 Just say 16 Change it to 10, Support 2-36 Hexadecimal conversion
边栏推荐
- Hudi学习笔记(三) 核心概念剖析
- 【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
- Crawler career from scratch (IV): climb the bullet curtain of station B through API
- Integrated use of interlij idea and sonarqube
- 图像修复方法研究综述----论文笔记
- Crawler career from scratch (3): crawl the photos of my little sister ③ (the website has been disabled)
- [point cloud processing paper crazy reading classic version 8] - o-cnn: octree based revolutionary neural networks for 3D shape analysis
- Vscode编辑器右键没有Open In Default Browser选项
- 一款开源的Markdown转富文本编辑器的实现原理剖析
- 【Kotlin学习】高阶函数的控制流——lambda的返回语句和匿名函数
猜你喜欢
Flask+supervisor installation realizes background process resident
Beego learning - Tencent cloud upload pictures
2022-1-6 Niuke net brush sword finger offer
Solve POM in idea Comment top line problem in XML file
一款开源的Markdown转富文本编辑器的实现原理剖析
[graduation season | advanced technology Er] another graduation season, I change my career as soon as I graduate, from animal science to programmer. Programmers have something to say in 10 years
Alibaba cloud notes for the first time
[point cloud processing paper crazy reading classic version 8] - o-cnn: octree based revolutionary neural networks for 3D shape analysis
Hudi quick experience (including detailed operation steps and screenshots)
Hudi学习笔记(三) 核心概念剖析
随机推荐
C language programming specification
Long类型的相等判断
Idea uses the MVN command to package and report an error, which is not available
NPM install installation dependency package error reporting solution
LeetCode每日一题(2305. Fair Distribution of Cookies)
[kotlin puzzle] what happens if you overload an arithmetic operator in the kotlin class and declare the operator as an extension function?
PolyWorks script development learning notes (II) -treeview basic operations
Common formulas of probability theory
Internet Protocol learning record
Flink学习笔记(八)多流转换
Jenkins learning (II) -- setting up Chinese
Filter comments to filter out uncommented and default values
[solution to the new version of Flink without bat startup file]
Flink学习笔记(十一)Table API 和 SQL
Just graduate student reading thesis
npm install安装依赖包报错解决方法
LeetCode每日一题(1996. The Number of Weak Characters in the Game)
2022-2-13 learning the imitation Niuke project - home page of the development community
Django operates Excel files through openpyxl to import data into the database in batches.
ERROR: certificate common name “www.mysql.com” doesn’t match requested host name “137.254.60.11”.