QString::number() 'f' format without trailing zeros ... 尝试使用格式化的打印功能,例如 QString::sprintf 。这应该给您更多的控制权。
確定! 回上一頁