fork(6) download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. int main() {
  5.  
  6. double f = 23.43;
  7. std::wstring f_str = std::to_wstring(f);
  8. std::wcout << f_str << std::endl;
  9.  
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 3044KB
stdin
Standard input is empty
stdout
23.430000