跳到主要內容
搜尋
搜尋此網誌
Double平 C++學習誌
分享
取得連結
Facebook
X
Pinterest
以電子郵件傳送
其他應用程式
5月 12, 2017
四捨五入到小數點第幾位
使用方法:
1. #include<iomanip> //
I/O manipulation
Input/Output控制器
2.cout << setprecision(
輸出位數
) << 變數/數字 << endl;
參考網址
留言
留言
張貼留言