QString strNew16 = QString("%1").arg(str.toInt(), 4, 16, QLatin1Char('0')); 這種方法使用比較簡單靈活。 2.sprintf. QString 的方法sprintf 格式化的 ...
確定! 回上一頁