tag 保留兩位小數

標籤
貢獻1
18
05:05 PM · Nov 21 ,2025

@保留兩位小數 / 博客 RSS 訂閱

鯨魚編程pyhui - 20251121_160633 求數的平方根結果保留兩位小數

20251121_160633 求數的平方根結果保留兩位小數 #include iostream #include cmath #include iomanip using namespace std; int main(){ int n = 38; double r = sqrt(n); coutfixedsetprecision(2)rendl; }

include , 後端開發 , 保留兩位小數 , Python

收藏 評論