C++문법

소수점 아래 출력할 때

skesswswkk 2020. 2. 8. 21:39

#include <iomanip>

cout << fixed << setprecision(15) << res << endl; //res를 소수점 아래 15자리까지 출력