1
2
3
4
5
6
7
8
9
10
#include <bits/stdc++.h>
using namespace std;

int main() {
double d;
d = 0.325;
// 其中的数字就是保留的位数
cout << fixed << setprecision(2) << d;
return 0;
}