fork(66) download
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. int main() {
  5. float total = 12.3961;
  6. std::cout << std::fixed << std::setprecision(2) << total << std::endl;
  7. }
Success #stdin #stdout 0.02s 2724KB
stdin
Standard input is empty
stdout
12.40