#include <iostream> using namespace std; int main() { double x = 10; cout << x; // 10 }
#include <iostream> using namespace std; int main() { double x = 10; cout << fixed; cout.precision(2); cout << x; // 10.00 }
CC-BY-SA 3.0 · Powered by MediaWiki
개인정보처리방침 · ABOUT